vscode/.vscode/launch.json

550 lines
13 KiB
JSON
Raw Normal View History

2015-11-13 13:39:38 +00:00
{
"version": "0.1.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Gulp Build",
2017-09-19 09:21:41 +00:00
"program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js",
"stopOnEntry": true,
"args": [
2018-01-30 09:35:31 +00:00
"hygiene"
2018-11-15 14:56:06 +00:00
]
},
2015-11-13 13:39:38 +00:00
{
"type": "node",
"request": "attach",
"restart": true,
"name": "Attach to Extension Host",
"timeout": 30000,
"port": 5870,
2016-12-13 16:51:07 +00:00
"outFiles": [
"${workspaceFolder}/out/**/*.js",
"${workspaceFolder}/extensions/*/out/**/*.js"
2020-05-15 10:09:16 +00:00
]
2015-11-13 13:39:38 +00:00
},
2016-07-26 08:42:47 +00:00
{
"type": "pwa-chrome",
2016-07-26 08:42:47 +00:00
"request": "attach",
"name": "Attach to Shared Process",
2020-06-02 03:46:08 +00:00
"timeout": 30000,
2018-11-28 20:08:50 +00:00
"port": 9222,
"urlFilter": "*sharedProcess.html*",
2020-04-17 19:22:39 +00:00
"presentation": {
"hidden": true
}
2016-07-26 08:42:47 +00:00
},
2017-02-01 20:12:46 +00:00
{
"type": "node",
"request": "attach",
"name": "Attach to Search Process",
"port": 5876,
2017-02-01 20:12:46 +00:00
"outFiles": [
2017-09-19 09:21:41 +00:00
"${workspaceFolder}/out/**/*.js"
]
2017-02-01 20:12:46 +00:00
},
2016-10-24 08:00:30 +00:00
{
"type": "node",
"request": "attach",
"name": "Attach to CLI Process",
2016-10-24 08:00:30 +00:00
"port": 5874,
2016-12-13 16:51:07 +00:00
"outFiles": [
2017-09-19 09:21:41 +00:00
"${workspaceFolder}/out/**/*.js"
2016-12-13 16:51:07 +00:00
]
2016-10-24 08:00:30 +00:00
},
{
"type": "node",
"request": "attach",
"name": "Attach to Main Process",
2020-06-02 03:46:08 +00:00
"timeout": 30000,
"port": 5875,
"outFiles": [
2017-09-19 09:21:41 +00:00
"${workspaceFolder}/out/**/*.js"
],
"presentation": {
"hidden": true,
}
},
2017-07-26 02:46:04 +00:00
{
"type": "extensionHost",
"request": "launch",
"name": "VS Code Emmet Tests",
"runtimeExecutable": "${execPath}",
"args": [
2017-09-19 09:21:41 +00:00
"${workspaceFolder}/extensions/emmet/test-fixtures",
"--extensionDevelopmentPath=${workspaceFolder}/extensions/emmet",
"--extensionTestsPath=${workspaceFolder}/extensions/emmet/out/test"
2017-07-26 02:46:04 +00:00
],
"outFiles": [
2017-09-19 09:21:41 +00:00
"${workspaceFolder}/out/**/*.js"
],
"presentation": {
"group": "5_tests",
"order": 6
}
2017-07-26 02:46:04 +00:00
},
2020-02-04 11:35:22 +00:00
{
"type": "extensionHost",
"request": "launch",
"name": "VS Code Git Tests",
"runtimeExecutable": "${execPath}",
"args": [
"/tmp/my4g9l",
"--extensionDevelopmentPath=${workspaceFolder}/extensions/git",
"--extensionTestsPath=${workspaceFolder}/extensions/git/out/test"
],
"outFiles": [
"${workspaceFolder}/extensions/git/out/**/*.js"
],
"presentation": {
"group": "5_tests",
"order": 6
}
},
2015-11-13 13:39:38 +00:00
{
"type": "extensionHost",
"request": "launch",
2018-01-26 15:16:36 +00:00
"name": "VS Code API Tests (single folder)",
2015-11-13 13:39:38 +00:00
"runtimeExecutable": "${execPath}",
"args": [
2018-05-14 10:51:12 +00:00
// "${workspaceFolder}", // Uncomment for running out of sources.
2017-09-19 09:21:41 +00:00
"${workspaceFolder}/extensions/vscode-api-tests/testWorkspace",
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-api-tests",
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-api-tests/out/singlefolder-tests",
"--disable-extensions"
2018-01-26 15:16:36 +00:00
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"presentation": {
"group": "5_tests",
"order": 3
}
2018-01-26 15:16:36 +00:00
},
{
"type": "extensionHost",
"request": "launch",
"name": "VS Code API Tests (workspace)",
"runtimeExecutable": "${execPath}",
"args": [
2018-01-27 10:49:18 +00:00
"${workspaceFolder}/extensions/vscode-api-tests/testworkspace.code-workspace",
2018-01-26 15:16:36 +00:00
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-api-tests",
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-api-tests/out/workspace-tests"
2015-11-13 13:39:38 +00:00
],
2016-12-13 16:51:07 +00:00
"outFiles": [
2017-09-19 09:21:41 +00:00
"${workspaceFolder}/out/**/*.js"
],
"presentation": {
"group": "5_tests",
"order": 4
}
},
{
"type": "extensionHost",
"request": "launch",
2016-12-06 22:26:07 +00:00
"name": "VS Code Tokenizer Tests",
"runtimeExecutable": "${execPath}",
"args": [
2017-09-19 09:21:41 +00:00
"${workspaceFolder}/extensions/vscode-colorize-tests/test",
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-colorize-tests",
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-colorize-tests/out"
],
2016-12-13 16:51:07 +00:00
"outFiles": [
2017-09-19 09:21:41 +00:00
"${workspaceFolder}/out/**/*.js"
],
"presentation": {
"group": "5_tests",
"order": 5
}
},
2020-04-23 18:55:23 +00:00
{
"type": "extensionHost",
"request": "launch",
"name": "VS Code Notebook Tests",
"runtimeExecutable": "${execPath}",
"args": [
"${workspaceFolder}/extensions/vscode-notebook-tests/test",
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-notebook-tests",
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-notebook-tests/out"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"presentation": {
2020-06-02 03:46:08 +00:00
"group": "5_tests",
2020-04-23 18:55:23 +00:00
"order": 6
}
},
{
"type": "extensionHost",
"request": "launch",
"name": "VS Code Custom Editor Tests",
"runtimeExecutable": "${execPath}",
"args": [
"${workspaceFolder}/extensions/vscode-custom-editor-tests/test-workspace",
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-custom-editor-tests",
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-custom-editor-tests/out/test"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"presentation": {
"group": "5_tests",
"order": 6
}
},
{
"type": "pwa-chrome",
"request": "attach",
2016-12-06 22:26:07 +00:00
"name": "Attach to VS Code",
"browserAttachLocation": "workspace",
2020-11-02 23:15:14 +00:00
"port": 9222,
"trace": true,
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"resolveSourceMapLocations": [
"${workspaceFolder}/out/**/*.js"
],
2020-11-02 23:15:14 +00:00
"perScriptSourcemaps": "yes"
},
{
2020-04-17 15:04:17 +00:00
"type": "pwa-chrome",
"request": "launch",
"name": "Launch VS Code Internal",
"windows": {
2019-10-23 09:17:07 +00:00
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat"
},
"osx": {
2017-09-19 09:21:41 +00:00
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh"
},
"linux": {
2017-09-19 09:21:41 +00:00
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh"
},
"port": 9222,
2019-10-23 09:17:07 +00:00
"timeout": 20000,
"env": {
"VSCODE_EXTHOST_WILL_SEND_SOCKET": null,
"VSCODE_SKIP_PRELAUNCH": "1"
},
"cleanUp": "wholeBrowser",
"urlFilter": "*workbench.html*",
"runtimeArgs": [
2018-12-13 09:28:26 +00:00
"--inspect=5875",
"--no-cached-data",
],
"webRoot": "${workspaceFolder}",
"cascadeTerminateToConfigurations": [
"Attach to Extension Host"
],
2020-03-03 23:13:01 +00:00
"userDataDir": false,
"pauseForSourceMap": false,
2020-02-04 11:35:22 +00:00
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"browserLaunchLocation": "workspace",
"presentation": {
"hidden": true,
}
},
{
2018-12-13 09:28:26 +00:00
"type": "node",
"request": "launch",
2020-04-17 19:22:39 +00:00
"name": "VS Code (Web)",
"program": "${workspaceFolder}/resources/web/code-web.js",
"presentation": {
2020-04-17 19:22:39 +00:00
"group": "0_vscode",
"order": 2
}
},
2020-05-07 08:37:20 +00:00
{
"type": "node",
"request": "launch",
"name": "Main Process",
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh",
"windows": {
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat",
},
"runtimeArgs": [
"--no-cached-data"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"presentation": {
"group": "1_vscode",
"order": 1
}
},
2019-10-15 18:27:17 +00:00
{
"type": "pwa-chrome",
2019-10-15 18:27:17 +00:00
"request": "launch",
"outFiles": [],
"perScriptSourcemaps": "yes",
2020-04-17 19:22:39 +00:00
"name": "VS Code (Web, Chrome)",
2019-10-15 18:27:17 +00:00
"url": "http://localhost:8080",
"preLaunchTask": "Run web",
"presentation": {
2020-04-17 19:22:39 +00:00
"group": "0_vscode",
"order": 3
}
2019-10-15 18:27:17 +00:00
},
2020-06-01 05:26:44 +00:00
{
"type": "pwa-msedge",
"request": "launch",
"outFiles": [],
"perScriptSourcemaps": "yes",
2020-06-01 05:26:44 +00:00
"name": "VS Code (Web, Edge)",
"url": "http://localhost:8080",
"pauseForSourceMap": false,
"preLaunchTask": "Run web",
"presentation": {
"group": "0_vscode",
"order": 3
}
},
{
"type": "node",
"request": "launch",
"name": "Git Unit Tests",
2017-09-19 09:21:41 +00:00
"program": "${workspaceFolder}/extensions/git/node_modules/mocha/bin/_mocha",
"stopOnEntry": false,
2017-09-19 09:21:41 +00:00
"cwd": "${workspaceFolder}/extensions/git",
"outFiles": [
2017-09-19 09:21:41 +00:00
"${workspaceFolder}/extensions/git/out/**/*.js"
],
"presentation": {
"group": "5_tests",
"order": 10
}
2017-05-19 00:33:54 +00:00
},
2020-01-07 16:54:47 +00:00
{
"type": "node",
"request": "launch",
2020-06-02 03:46:08 +00:00
"name": "HTML Server Unit Tests",
"program": "${workspaceFolder}/extensions/html-language-features/server/test/index.js",
2020-01-07 16:54:47 +00:00
"stopOnEntry": false,
"cwd": "${workspaceFolder}/extensions/html-language-features/server",
"outFiles": [
"${workspaceFolder}/extensions/html-language-features/server/out/**/*.js"
],
"presentation": {
"group": "5_tests",
"order": 10
}
},
2020-06-02 03:46:08 +00:00
{
"type": "node",
"request": "launch",
"name": "CSS Server Unit Tests",
"program": "${workspaceFolder}/extensions/css-language-features/server/test/index.js",
"stopOnEntry": false,
"cwd": "${workspaceFolder}/extensions/css-language-features/server",
"outFiles": [
"${workspaceFolder}/extensions/css-language-features/server/out/**/*.js"
],
"presentation": {
"group": "5_tests",
"order": 10
}
},
2018-02-07 23:00:09 +00:00
{
"type": "extensionHost",
"request": "launch",
2018-04-13 22:18:30 +00:00
"name": "Markdown Extension Tests",
2018-02-07 23:00:09 +00:00
"runtimeExecutable": "${execPath}",
"args": [
"${workspaceFolder}/extensions/markdown-language-features/test-workspace",
"--extensionDevelopmentPath=${workspaceFolder}/extensions/markdown-language-features",
"--extensionTestsPath=${workspaceFolder}/extensions/markdown-language-features/out/test"
2018-02-07 23:00:09 +00:00
],
"outFiles": [
"${workspaceFolder}/extensions/markdown-language-features/out/**/*.js"
],
"presentation": {
"group": "5_tests",
"order": 7
}
2018-02-07 23:00:09 +00:00
},
{
"type": "extensionHost",
"request": "launch",
"name": "TypeScript Extension Tests",
"runtimeExecutable": "${execPath}",
"args": [
"${workspaceFolder}/extensions/typescript-language-features/test-workspace",
"--extensionDevelopmentPath=${workspaceFolder}/extensions/typescript-language-features",
"--extensionTestsPath=${workspaceFolder}/extensions/typescript-language-features/out/test"
],
"outFiles": [
"${workspaceFolder}/extensions/typescript-language-features/out/**/*.js"
],
"presentation": {
"group": "5_tests",
"order": 8
}
},
{
2020-11-02 23:15:14 +00:00
"type": "pwa-node",
"request": "launch",
2019-03-16 01:38:07 +00:00
"name": "Run Unit Tests",
2020-02-07 08:51:24 +00:00
"program": "${workspaceFolder}/test/unit/electron/index.js",
2017-09-19 09:21:41 +00:00
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.app/Contents/MacOS/Electron",
"windows": {
2017-09-19 09:21:41 +00:00
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.exe"
},
"linux": {
2017-09-19 09:21:41 +00:00
"runtimeExecutable": "${workspaceFolder}/.build/electron/code-oss"
},
"outputCapture": "std",
"args": [
2019-03-16 01:38:07 +00:00
"--remote-debugging-port=9222"
],
2017-09-19 09:21:41 +00:00
"cwd": "${workspaceFolder}",
"outFiles": [
2017-09-19 09:21:41 +00:00
"${workspaceFolder}/out/**/*.js"
2019-09-26 08:50:59 +00:00
],
2020-11-02 23:15:14 +00:00
"cascadeTerminateToConfigurations": [
"Attach to VS Code"
],
"env": {
"MOCHA_COLORS": "true"
},
"presentation": {
"hidden": true
}
},
{
"type": "pwa-node",
"request": "launch",
"name": "Run Unit Tests For Current File",
"program": "${workspaceFolder}/test/unit/electron/index.js",
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.app/Contents/MacOS/Electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.exe"
},
"linux": {
"runtimeExecutable": "${workspaceFolder}/.build/electron/code-oss"
},
"cascadeTerminateToConfigurations": [
"Attach to VS Code"
],
"outputCapture": "std",
"args": [
"--remote-debugging-port=9222",
"--run",
"${relativeFile}"
],
"cwd": "${workspaceFolder}",
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
2019-09-26 08:50:59 +00:00
"env": {
"MOCHA_COLORS": "true"
},
"presentation": {
"hidden": true
2019-09-26 08:50:59 +00:00
}
},
{
"type": "node",
"request": "launch",
"name": "Launch Smoke Test",
2017-09-19 09:21:41 +00:00
"program": "${workspaceFolder}/test/smoke/out/main.js",
"cwd": "${workspaceFolder}/test/smoke",
"timeout": 240000,
"port": 9999,
"args": [
"-l",
2017-09-19 09:21:41 +00:00
"${workspaceFolder}/.build/electron/Code - OSS.app/Contents/MacOS/Electron"
],
"outFiles": [
"${cwd}/out/**/*.js"
],
"env": {
"NODE_ENV": "development",
"VSCODE_DEV": "1",
"VSCODE_CLI": "1"
}
},
{
"name": "Launch Built-in Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceRoot}/extensions/debug-auto-launch"
]
}
],
"compounds": [
{
"name": "VS Code",
"stopAll": true,
"configurations": [
"Launch VS Code Internal",
2019-11-01 08:04:12 +00:00
"Attach to Main Process",
"Attach to Extension Host",
"Attach to Shared Process",
],
"preLaunchTask": "Ensure Prelaunch Dependencies",
"presentation": {
"group": "0_vscode",
"order": 1
}
},
{
"name": "Search and Renderer processes",
"configurations": [
"Launch VS Code Internal",
"Attach to Search Process"
],
"presentation": {
"group": "1_vscode",
"order": 4
}
},
{
"name": "Renderer and Extension Host processes",
"configurations": [
"Launch VS Code Internal",
"Attach to Extension Host"
],
"presentation": {
"group": "1_vscode",
"order": 3
}
2019-03-16 01:38:07 +00:00
},
{
"name": "Debug Unit Tests",
"configurations": [
"Attach to VS Code",
"Run Unit Tests"
],
"presentation": {
"group": "1_vscode",
"order": 2
}
2020-11-02 23:15:14 +00:00
},
{
"name": "Debug Unit Tests (Current File)",
"configurations": [
"Attach to VS Code",
"Run Unit Tests For Current File"
],
"presentation": {
"group": "1_vscode",
"order": 2
}
},
{
"name": "Launch VS Code",
"stopAll": true,
"configurations": [
"Launch VS Code Internal",
],
"preLaunchTask": "Ensure Prelaunch Dependencies"
},
2015-11-13 13:39:38 +00:00
]
2019-09-26 08:50:59 +00:00
}