2020-01-10 04:03:34 +03:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"name": "Run Extension",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}"
|
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/**/*.js"
|
|
|
|
],
|
|
|
|
"preLaunchTask": "Build extension with watcher"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Launch Extension with Drizzle UI",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}"
|
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/**/*.js"
|
|
|
|
],
|
|
|
|
"preLaunchTask": "Run extension with Drizzle UI"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Extension Tests",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
|
|
|
"--extensionTestsPath=${workspaceFolder}/out/test"
|
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/test/**/*.js"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"CODE_TEST": "true"
|
|
|
|
},
|
|
|
|
"preLaunchTask": "Build extension with watcher"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debugger Server",
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"program": "${workspaceFolder}/out/src/debugger.js",
|
|
|
|
"args": [ "--server=4711" ]
|
2020-05-04 15:54:07 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Ui tests",
|
|
|
|
"program": "${workspaceFolder}/ui-test/node_modules/vscode-extension-tester/out/cli.js",
|
|
|
|
"args": [
|
|
|
|
"run-tests",
|
|
|
|
"ui-test/out/*.test.js",
|
|
|
|
"-s",
|
|
|
|
"ui-test/test-resources"
|
|
|
|
],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"outFiles": ["${workspaceFolder}/ui-test/out/*/*.js"],
|
|
|
|
"preLaunchTask": "Prepare resources for ui-tests"
|
2020-01-10 04:03:34 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"compounds": [
|
|
|
|
{
|
|
|
|
"name": "Run Extension and Debugger separately",
|
|
|
|
"configurations": [ "Run Extension", "Debugger Server" ]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|