2017-09-22 02:20:07 +03:00
|
|
|
// 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}",
|
2018-09-26 01:38:45 +03:00
|
|
|
"args": [
|
2018-10-24 00:03:01 +03:00
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}"
|
2018-09-26 01:38:45 +03:00
|
|
|
],
|
|
|
|
"outFiles": [
|
2020-03-31 20:56:12 +03:00
|
|
|
"${workspaceFolder}/out/**/*.js"
|
2018-09-26 01:38:45 +03:00
|
|
|
],
|
2020-03-31 20:56:12 +03:00
|
|
|
"preLaunchTask": "${defaultBuildTask}",
|
2019-04-02 23:27:29 +03:00
|
|
|
"env": {
|
2019-10-02 20:43:34 +03:00
|
|
|
"DEBUGTELEMETRY": "v",
|
2019-04-02 23:27:29 +03:00
|
|
|
"NODE_DEBUG": ""
|
|
|
|
}
|
|
|
|
},
|
2022-05-14 00:39:39 +03:00
|
|
|
{
|
|
|
|
"name": "Launch Extension + Host",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}/../vscode-azureresourcegroups"
|
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/**/*.js"
|
|
|
|
],
|
|
|
|
"preLaunchTask": "${defaultBuildTask}",
|
|
|
|
"env": {
|
|
|
|
"DEBUGTELEMETRY": "v",
|
|
|
|
"NODE_DEBUG": ""
|
|
|
|
}
|
|
|
|
},
|
2019-04-02 23:27:29 +03:00
|
|
|
{
|
|
|
|
"name": "Launch Extension (webpack)",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}"
|
|
|
|
],
|
|
|
|
"outFiles": [
|
2020-03-31 20:56:12 +03:00
|
|
|
"${workspaceFolder}/dist/**/*.js"
|
2019-04-02 23:27:29 +03:00
|
|
|
],
|
2019-02-01 20:54:33 +03:00
|
|
|
"preLaunchTask": "npm: webpack",
|
2018-10-24 00:03:01 +03:00
|
|
|
"env": {
|
2019-10-02 20:43:34 +03:00
|
|
|
"DEBUGTELEMETRY": "v",
|
2020-03-31 20:56:12 +03:00
|
|
|
"NODE_DEBUG": "",
|
|
|
|
"DEBUG_WEBPACK": "1"
|
2018-10-24 00:03:01 +03:00
|
|
|
}
|
2017-09-22 02:20:07 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Launch Tests",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
2019-04-10 02:24:49 +03:00
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
2020-03-31 20:56:12 +03:00
|
|
|
"--extensionTestsPath=${workspaceFolder}/out/test/index",
|
2019-07-02 05:45:00 +03:00
|
|
|
"${workspaceFolder}/test/test.code-workspace"
|
2019-04-10 02:24:49 +03:00
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/**/*.js"
|
|
|
|
],
|
2020-03-31 20:56:12 +03:00
|
|
|
"preLaunchTask": "${defaultBuildTask}",
|
2019-04-10 02:24:49 +03:00
|
|
|
"env": {
|
|
|
|
"MOCHA_grep": "", // RegExp of tests to run (empty for all)
|
2020-03-31 20:56:12 +03:00
|
|
|
"MOCHA_timeout": "0", // Disable time-outs
|
2019-10-02 20:43:34 +03:00
|
|
|
"DEBUGTELEMETRY": "v",
|
2019-04-10 02:24:49 +03:00
|
|
|
"NODE_DEBUG": "",
|
2020-06-01 20:40:06 +03:00
|
|
|
"FUNC_PATH": "func",
|
2024-07-05 23:42:29 +03:00
|
|
|
"AZFUNC_UPDATE_BACKUP_TEMPLATES": "",
|
|
|
|
"AzCode_EnableLongRunningTestsLocal": "",
|
2019-04-10 02:24:49 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Launch Tests (webpack)",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
2018-09-26 01:38:45 +03:00
|
|
|
"args": [
|
2018-10-24 00:03:01 +03:00
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
2020-03-31 20:56:12 +03:00
|
|
|
"--extensionTestsPath=${workspaceFolder}/dist/test/index",
|
2019-07-02 05:45:00 +03:00
|
|
|
"${workspaceFolder}/test/test.code-workspace"
|
2018-09-26 01:38:45 +03:00
|
|
|
],
|
|
|
|
"outFiles": [
|
2019-02-01 20:54:33 +03:00
|
|
|
"${workspaceFolder}/dist/**/*.js"
|
2018-09-26 01:38:45 +03:00
|
|
|
],
|
2019-02-01 20:54:33 +03:00
|
|
|
"preLaunchTask": "npm: webpack",
|
2018-09-26 01:38:45 +03:00
|
|
|
"env": {
|
|
|
|
"MOCHA_grep": "", // RegExp of tests to run (empty for all)
|
2020-03-31 20:56:12 +03:00
|
|
|
"MOCHA_timeout": "0", // Disable time-outs
|
2019-10-02 20:43:34 +03:00
|
|
|
"DEBUGTELEMETRY": "v",
|
2018-10-24 00:03:01 +03:00
|
|
|
"NODE_DEBUG": "",
|
2020-03-31 20:56:12 +03:00
|
|
|
"DEBUG_WEBPACK": "1",
|
2018-10-31 22:17:30 +03:00
|
|
|
"ENABLE_LONG_RUNNING_TESTS": "",
|
|
|
|
"FUNC_PATH": "func"
|
2018-09-26 01:38:45 +03:00
|
|
|
}
|
2017-09-22 02:20:07 +03:00
|
|
|
}
|
|
|
|
]
|
2018-09-26 01:38:45 +03:00
|
|
|
}
|