基于vscode:
1:点击创建一个launch.json,选择Node.js

2:修改program中index.js为你想要调试的文件

3:点击launch Program即可启动调试

基于webstrom:
1:点击Edit Configurations

2:点击+,选择nodejs

3:配置要执行的文件及命令

4:点击调试图标,即会执行node index.js --help,并启动调试


基于vscode:
1:点击创建一个launch.json,选择Node.js
2:修改program中index.js为你想要调试的文件
3:点击launch Program即可启动调试
基于webstrom:
1:点击Edit Configurations
2:点击+,选择nodejs
3:配置要执行的文件及命令
4:点击调试图标,即会执行node index.js --help,并启动调试
本文标题:node项目调试配置
本文链接:https://www.haomeiwen.com/subject/gdlchrtx.html
网友评论