Debugging 在使用指定的预启动任务启动调试后,是否有方法打开调试控制台选项卡?
我已使用preLaunchTask进行调试配置:Debugging 在使用指定的预启动任务启动调试后,是否有方法打开调试控制台选项卡?,debugging,visual-studio-code,Debugging,Visual Studio Code,我已使用preLaunchTask进行调试配置: { "type": "node", "request": "launch", "name": "index.js - Build then launch", "program": "${workspaceRoot}/node/dist/index.js", "cwd": "${workspaceRoot}/node", "preLaunchTask": "build" } 当我开始调试时,vsco
{
"type": "node",
"request": "launch",
"name": "index.js - Build then launch",
"program": "${workspaceRoot}/node/dist/index.js",
"cwd": "${workspaceRoot}/node",
"preLaunchTask": "build"
}
当我开始调试时,vscode会打开输出选项卡而不是调试控制台:
启动调试后是否有方法打开调试控制台?我想用Interactive with DOM UI创建扩展,但结果证明扩展无法访问DOM UI。您可以在启动配置中设置“internalConsoleOptions”:“openOnSessionStart”
,以在启动调试会话后始终显示控制台