Debugging 如何在Visual Studio中调试两个或多个文件

Debugging 如何在Visual Studio中调试两个或多个文件,debugging,Debugging,我的调试器现在只在一个文件(test.js)中工作,当我尝试在另一个文件中调试时仍在调试test.js有人知道这个问题的解决方案吗 { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?l

我的调试器现在只在一个文件(test.js)中工作,当我尝试在另一个文件中调试时仍在调试test.js有人知道这个问题的解决方案吗

{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
      {
          "type": "node",
          "request": "launch",
          "name": "Launch Program",
          "skipFiles": [
            "<node_internals>/**"
        ],
        "program": "${workspaceFolder}\\test.js"
    }
  ]
}
{
//使用IntelliSense了解可能的属性。
//悬停以查看现有属性的描述。
//有关更多信息,请访问:https://go.microsoft.com/fwlink/?linkid=830387
“版本”:“0.2.0”,
“配置”:[
{
“类型”:“节点”,
“请求”:“启动”,
“名称”:“启动计划”,
“滑雪板”:[
"/**"
],
“程序”:“${workspaceFolder}\\test.js”
}
]
}

在visual studio中对chrome扩展使用调试器

谢谢你的回答。。我试过你用chrome扩展写的东西。。但是w。我尝试过多次更换端口,但仍然无法正常工作