Coder Compare preferences Debug, Debug node More trouble, we rely on the tall tool webstorm (I use 10) to debug node, configuration is relatively simple, direct:
First, configure the node environment, select "Edit/configuration" in the navigation bar,
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6E/37/wKioL1V2tlSBNlg4AAB_DyzeGkY678.jpg "title=" 2.png " alt= "Wkiol1v2tlsbnlg4aab_dyzegky678.jpg"/>
Next Configure
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6E/3B/wKiom1V2tM3xYJl8AAKv65JQYfU260.jpg "title=" 1.png " alt= "Wkiom1v2tm3xyjl8aakv65jqyfu260.jpg"/>
Note: JavaScript file is the portal to node
It's not over yet, you need to configure remote debugging, in the window above, select node. js Remote Debug in defaults:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6E/3B/wKiom1V2tXSRjbZhAAJX5TlBw48825.jpg "title=" 3.png " alt= "Wkiom1v2txsrjbzhaajx5tlbw48825.jpg"/>
The following can be debug, the entrance is here:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6E/37/wKioL1V2t8WiaQM5AAA3_Kz3v08395.jpg "title=" 4.png " alt= "Wkiol1v2t8wiaqm5aaa3_kz3v08395.jpg"/>
This article is from the "Eason's HCC" blog, so be sure to keep this source http://hcc0926.blog.51cto.com/172833/1660157
Debug node project with Webstorm