r/javascript • • Mar 18 '19

What's your favorite, most useful javascript one-liner?

385 Upvotes

422 comments sorted by

View all comments

Show parent comments

2

u/Oririner Mar 19 '19

It sounds like you're not debugging the test suites in Chrome DevTools.

you should do that instead ;) just add --inspect-brk when running the node process and follow the instructions.