3 ms·
> 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 y
by tubthumper8 3y ago
> 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-breakpoints https://code.visualstudio.com/Docs/editor/debugging#_inline-...
- ljm 3y agoI 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)