【发布时间】:2021-12-05 07:33:31
【问题描述】:
我的应用程序中有两个前端应用程序需要同时在调试器模式下运行。
{
// 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": "pwa-msedge",
"request": "launch",
"name": "Org Admin - Edge",
"url": "http://localhost:3001",
"webRoot": "${workspaceFolder}",
"runtimeExecutable": "/usr/bin/microsoft-edge-beta"
},
{
"name": "Super Admin - Edge",
"request": "launch",
"type": "pwa-msedge",
"url": "http://localhost:3002",
"webRoot": "${workspaceFolder}",
"runtimeExecutable": "/usr/bin/microsoft-edge-beta"
},
{
"command": "npm run dev",
"name": "Start Full Application",
"request": "launch",
"type": "node-terminal"
}
]
}
这是我目前的配置,但我只能同时运行 Super Admin - Edge 或 Org Admin - Edge。我想要的是在单独启动它们时同时运行所有它们。
基本上,需要从 VSCode 调试器同时运行两个“pwa-msedge”实例。
【问题讨论】:
标签: visual-studio-code microsoft-edge vscode-debugger javascript-debugger nx.dev