News for hackers. Stuff that matters.
Re:Prettier $20k Bounty was Claimed by tubthumper8 on Monday November 27, 2023 @01:12PM (#38435863)
> It favours expressions over statements and even now, it’s not easy to set a breakpoint in the middle of one, so you end up rewriting into statements just so you can step through.

I've never had an issue setting an inline breakpoint[1] in VS Code, is it an issue in other IDEs?

[1] https://code.visualstudio.com/Docs/editor/debugging#_inline-...

Re:Prettier $20k Bounty was Claimed by ljm on Monday November 27, 2023 @01:17PM (#38435937)
I use emacs, but chrome/firefox are a bit finicky about where you can set a breakpoint.

(Most people I know just use console.log - print debugging works all the time but I like having a repl)