Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法打开TypeScript项目的扩展开发主机_Typescript_Visual Studio Code_Vscode Extensions - Fatal编程技术网

无法打开TypeScript项目的扩展开发主机

无法打开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

我正在尝试阅读第一个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 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控制台(帮助=切换开发人员窗口)。。。一切都好吗?