4 ms·
> node.js requires that you use the browser for debugging wat? :/ Node.js does not require you to use the browser for debugging. But you're probably referrin
by jxm262 11y ago
> node.js requires that you use the browser for debugging
wat? :/
Node.js does not require you to use the browser for debugging. But you're probably referring to node-inspector, which uses Chrome or Opera. I personally find webstorm to be wayyy easier debugging node unit tests specifically.
- afarrell 11y ago~~Is webstorm usable outside a jetbrains product? In particular, on a headless server?~~ EDIT: That was a dumb question. This IDE looks pretty cool. I'll check it out. But I still want something that I can run headless.
- luv2code 11y agoSince debugging is over a TCP connection, you only have to start the nodejs process with the debug flag, and then plug the address and port into whatever debugger you're trying to use.
- timrichard 11y agoIn addition to the standard debugger, WebStorm also give you SpyJS for Node[1], which is a Tracer/Reverse debugger. [1] http://blog.jetbrains.com/webstorm/2014/08/tracing-debugging-and-profiling-node-js-with-spy-js/ http://blog.jetbrains.com/webstorm/2014/08/tracing-debugging...