native-debug/.vscode/launch.json

50 lines
1.2 KiB
JSON
Raw Permalink Normal View History

// A launch configuration that compiles the extension and then opens it inside a new window
{
"version": "0.1.0",
"configurations": [
{
"name": "Launch Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/out/**/*.js"
],
"preLaunchTask": "npm"
},
{
"name": "code-debug server",
"type": "node",
"request": "launch",
"runtimeArgs": [ "--nolazy" ],
"program": "${workspaceRoot}/src/gdb.ts",
"stopOnEntry": false,
"args": [ "--server=4711" ],
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/out/**/*.js"
],
"cwd": "${workspaceRoot}",
"preLaunchTask": "npm"
},
{
"name": "Launch Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceRoot}",
"--extensionTestsPath=${workspaceRoot}/out/src/test/suite/index"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/out/**/*.js"
],
"preLaunchTask": "npm"
}
]
}