无法打开TypeScript项目的扩展开发主机
我正在尝试阅读第一个vs代码扩展教程,但是我无法打开扩展开发主机。点击F5没有任何作用,而点击debug侧栏中的start按钮似乎也没有任何作用 我使用无法打开TypeScript项目的扩展开发主机,typescript,visual-studio-code,vscode-extensions,Typescript,Visual Studio Code,Vscode Extensions,我正在尝试阅读第一个vs代码扩展教程,但是我无法打开扩展开发主机。点击F5没有任何作用,而点击debug侧栏中的start按钮似乎也没有任何作用 我使用yocode生成了我的项目,并选择了TypeScript选项 我尝试过选择JavaScript选项,这似乎很好 launch.json看起来像: // A launch configuration that compiles the extension and then opens it inside a new window // Use In
yocode
生成了我的项目,并选择了TypeScript选项
我尝试过选择JavaScript选项,这似乎很好
launch.json
看起来像:
// A launch configuration that compiles the extension and then opens it inside a new window
// 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": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm: watch"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "npm: watch"
}
]
}
Show
launch.json
fileHi@RitwickDey我已经更新了这个问题,添加了我的launch.json
——不过我没有编辑这个问题,它只是当你';重新点击F5
检查输出窗口&;vscode控制台(帮助=切换开发人员窗口)。。。一切都好吗?