51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
// 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/src"],
|
|
"preLaunchTask": "npm"
|
|
},
|
|
{
|
|
"name": "Launch Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceRoot}/out/test"],
|
|
"preLaunchTask": "npm"
|
|
},
|
|
{
|
|
"name": "Node Attach",
|
|
"type": "node",
|
|
"request": "attach",
|
|
"port": 5858
|
|
},
|
|
{
|
|
"name": "Launch Integration Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"${workspaceRoot}/test/integrationTests/testAssets/SimpleCppProject",
|
|
"--extensionDevelopmentPath=${workspaceRoot}",
|
|
"--extensionTestsPath=${workspaceRoot}/out/test/integrationTests"
|
|
],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": [
|
|
"${workspaceRoot}/out/test/**/*.js"
|
|
]
|
|
},
|
|
]
|
|
}
|