4 ms·
PyCharm/WebStorm lets you debug node processes in the same way as python processes, so debugging tests doesn't seem to be much different for me. For code runni
by alangpierce 9y ago
PyCharm/WebStorm lets you debug node processes in the same way as python processes, so debugging tests doesn't seem to be much different for me.
For code running in a browser, you can do in-IDE debugging with PyCharm/WebStorm via a run configuration [1], although I tend to not bother and just use the Chrome devtools instead, which I find to be very high-quality.
My company does a lot of JS and Python, and I've found that people tend to be more comfortable using a debugger with JS because you can just open Chrome devtools, set a breakpoint, and go. In Python, you need good editor support or you need to use a command line debugger, so there's a larger barrier to entry.
[1] https://blog.jetbrains.com/webstorm/2018/01/debugging-javascript-with-webstorm-2017-3/ https://blog.jetbrains.com/webstorm/2018/01/debugging-javasc...