jca*_*llo 10 debugging node.js express visual-studio-code
我尝试使用Visual Studio Code在节点JS中调试项目,但我没有实现.我用下一个命令构建了一个简单的项目:
表达myExpressApp cd myExpressApp npm install npm start我的文件launch.json:

我在Window"Debug"中选择选项"Launch app.js".应用程序运行没有问题.我提出了一个断点:
我在Chrome中给出了地址:http:// localhost:3000 /
Visual Studio Code说:"在断点暂停",但我什么也看不见,我可以按继续,应用程序继续...

编辑:我使用OS X 10.10(我测试了它,它在Ubuntu中完美运行.)
| 归档时间: |
|
| 查看次数: |
6765 次 |
| 最近记录: |