我在launch.json文件中添加了配置,其中包含以下详细信息:
{
"name": "Attach"
"type": "node",
// TCP/IP address. Default is "localhost".
"address": "localhost",
// Port to attach to.
"port": 5858
}
Run Code Online (Sandbox Code Playgroud)
现在我使用以下命令启动我的应用程序: node --debug-brk ./bin/www
当我进入VSCode并Attach在顶部的调试菜单中选择并单击播放按钮.它附加,但当我去浏览器并打开一个页面时,它不是我index.js文件中的断点或处理函数.你能帮忙解决可能出现的问题吗?