Can I debug node.js applications in Sublime 2?
Solution 1
Using the Chrome Browser with node-inspector has been very valuable for debugging node.js applications.
Solution 2
Microsoft just released a new free & cross-platform text editor called Visual Studio Code, with built-in Node.js debugging capabilities that looks very exciting - https://code.visualstudio.com/
Solution 3
WebStorms is an IDE with a very strong debugger for Node.js built in. It's just like the traditional debuggers in Eclipse or .NET. It also has good support for things like CoffeeScript, etc. http://www.jetbrains.com/webstorm/
Solution 4
Maybe you should consider using a modern, open source text editor called Brackets, which has extension called Node.js Debugger.
To start using it first you'll need to install it from Brackets Extensions Manager. Then start your script with node --debug-brk yor-script.js
or node --debug your-script.js
Go into Brackets and click on Debug -> Node.js Debugger
or use Ctrl-Shift-I
More information available on the github of the extension.
Comments
-
overthetop almost 2 years
Is this the right IDE for node.js or it's just a fast text editor? Can you guys suggest which IDE should be used for node.js?