// A launch configuration that compiles the extension and then opens it inside a new window { "version": "0.2.0", "configurations": [ { "type": "extensionHost", "request": "launch", "name": "Launch Client", "runtimeExecutable": "${execPath}", "args": ["--extensionDevelopmentPath=${workspaceRoot}", "--trace-warnings"], "outFiles": ["${workspaceRoot}/client/dist/**/*.js"], "preLaunchTask": { "type": "npm", "script": "web-compile" } }, { "name": "Run Web Extension in VS Code", "type": "extensionHost", "debugWebWorkerHost": true, "request": "launch", "args": [ "--extensionDevelopmentPath=${workspaceFolder}", "--extensionDevelopmentKind=web" ], "outFiles": [ "${workspaceFolder}/dist/**/*.js" ], "preLaunchTask": { "type": "npm", "script": "web-watch" } }, { "type": "node", "request": "attach", "name": "Attach to Server", "port": 6009, "restart": true, "outFiles": ["${workspaceRoot}/server/dist/**/*.js"] }, { "name": "Language Server E2E Test", "type": "extensionHost", "request": "launch", "runtimeExecutable": "${execPath}", "args": [ "--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/client/dist/test/index", "${workspaceRoot}/client/testFixture" ], "outFiles": ["${workspaceRoot}/client/dist/test/**/*.js"] } ], "compounds": [ { "name": "Client + Server", "configurations": ["Launch Client", "Attach to Server"] } ] }