Debug node js in webstorm
问题 I spent lot of time to find out how I can debug simple node.js file in webstorm. after writing simple api in node.js I stuck at some place and looking for solution where i can debug line by line. I am using Web-storm editor. I will also contribute if find some way. 回答1: Steps to Debug Node JS code Open console and type node(it will open node shell). Run process.env Copy the contents of the PATH value Add an environment variable to Webstorm called PATH that uses this value. It will overwrite