2015-11-13 13:39:38 +00:00
|
|
|
{
|
|
|
|
"version": "0.1.0",
|
|
|
|
"configurations": [
|
2016-11-29 11:37:44 +00:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Gulp Build",
|
2017-09-19 09:21:41 +00:00
|
|
|
"program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js",
|
2016-11-29 11:37:44 +00:00
|
|
|
"stopOnEntry": true,
|
|
|
|
"args": [
|
2018-01-30 09:35:31 +00:00
|
|
|
"hygiene"
|
2018-11-15 14:56:06 +00:00
|
|
|
]
|
2016-11-29 11:37:44 +00:00
|
|
|
},
|
2015-11-13 13:39:38 +00:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "attach",
|
2020-04-17 19:24:27 +00:00
|
|
|
"restart": true,
|
2016-11-11 15:41:43 +00:00
|
|
|
"name": "Attach to Extension Host",
|
2022-06-08 09:11:13 +00:00
|
|
|
"timeout": 0,
|
2018-05-24 13:58:34 +00:00
|
|
|
"port": 5870,
|
2016-12-13 16:51:07 +00:00
|
|
|
"outFiles": [
|
2020-09-01 17:59:36 +00:00
|
|
|
"${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
|
|
|
{
|
2022-08-16 04:16:35 +00:00
|
|
|
"type": "chrome",
|
2016-07-26 08:42:47 +00:00
|
|
|
"request": "attach",
|
2016-11-11 15:41:43 +00:00
|
|
|
"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,
|
2022-09-21 07:38:44 +00:00
|
|
|
"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",
|
2017-09-04 21:08:40 +00:00
|
|
|
"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"
|
2020-11-10 00:15:17 +00:00
|
|
|
]
|
2017-02-01 20:12:46 +00:00
|
|
|
},
|
2021-09-20 22:26:21 +00:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "attach",
|
|
|
|
"name": "Attach to Pty Host Process",
|
|
|
|
"port": 5877,
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/**/*.js"
|
|
|
|
]
|
|
|
|
},
|
2016-10-24 08:00:30 +00:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "attach",
|
2016-11-11 15:41:43 +00:00
|
|
|
"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
|
|
|
},
|
2017-03-23 13:45:47 +00:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "attach",
|
|
|
|
"name": "Attach to Main Process",
|
2020-06-02 03:46:08 +00:00
|
|
|
"timeout": 30000,
|
2017-03-23 13:45:47 +00:00
|
|
|
"port": 5875,
|
2022-08-31 17:13:39 +00:00
|
|
|
"continueOnAttach": true,
|
2017-03-23 13:45:47 +00:00
|
|
|
"outFiles": [
|
2017-09-19 09:21:41 +00:00
|
|
|
"${workspaceFolder}/out/**/*.js"
|
2019-12-20 10:09:24 +00:00
|
|
|
],
|
|
|
|
"presentation": {
|
|
|
|
"hidden": true,
|
|
|
|
}
|
2017-03-23 13:45:47 +00:00
|
|
|
},
|
2017-07-26 02:46:04 +00:00
|
|
|
{
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "VS Code Emmet Tests",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
2021-06-15 13:40:20 +00:00
|
|
|
"${workspaceFolder}/extensions/emmet/test-workspace",
|
2017-09-19 09:21:41 +00:00
|
|
|
"--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"
|
2019-12-20 10:09:24 +00:00
|
|
|
],
|
|
|
|
"presentation": {
|
|
|
|
"group": "5_tests",
|
|
|
|
"order": 6
|
|
|
|
}
|
2017-07-26 02:46:04 +00:00
|
|
|
},
|
2022-06-14 07:08:27 +00:00
|
|
|
{
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "VS Code Configuration Editing Tests",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/configuration-editing",
|
|
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/configuration-editing/out/test"
|
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/**/*.js"
|
|
|
|
],
|
|
|
|
"presentation": {
|
|
|
|
"group": "5_tests",
|
|
|
|
"order": 6
|
|
|
|
}
|
|
|
|
},
|
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
|
|
|
|
}
|
|
|
|
},
|
2022-04-01 14:07:33 +00:00
|
|
|
{
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "VS Code Github Tests",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"${workspaceFolder}/extensions/github/testWorkspace",
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/github",
|
|
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/github/out/test"
|
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/extensions/github/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",
|
2021-02-12 17:32:55 +00:00
|
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-api-tests/out/singlefolder-tests",
|
|
|
|
"--disable-extensions"
|
2018-01-26 15:16:36 +00:00
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/**/*.js"
|
2019-12-20 10:09:24 +00:00
|
|
|
],
|
|
|
|
"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"
|
2019-12-20 10:09:24 +00:00
|
|
|
],
|
|
|
|
"presentation": {
|
|
|
|
"group": "5_tests",
|
|
|
|
"order": 4
|
|
|
|
}
|
2015-11-16 13:34:09 +00:00
|
|
|
},
|
2016-04-13 14:09:29 +00:00
|
|
|
{
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
2016-12-06 22:26:07 +00:00
|
|
|
"name": "VS Code Tokenizer Tests",
|
2016-04-13 14:09:29 +00:00
|
|
|
"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-04-13 14:09:29 +00:00
|
|
|
],
|
2016-12-13 16:51:07 +00:00
|
|
|
"outFiles": [
|
2017-09-19 09:21:41 +00:00
|
|
|
"${workspaceFolder}/out/**/*.js"
|
2019-12-20 10:09:24 +00:00
|
|
|
],
|
|
|
|
"presentation": {
|
|
|
|
"group": "5_tests",
|
|
|
|
"order": 5
|
|
|
|
}
|
2016-04-13 14:09:29 +00:00
|
|
|
},
|
2015-11-16 13:34:09 +00:00
|
|
|
{
|
2022-08-16 04:16:35 +00:00
|
|
|
"type": "chrome",
|
2015-11-16 13:34:09 +00:00
|
|
|
"request": "attach",
|
2016-12-06 22:26:07 +00:00
|
|
|
"name": "Attach to VS Code",
|
2020-10-06 17:38:07 +00:00
|
|
|
"browserAttachLocation": "workspace",
|
2020-11-02 23:15:14 +00:00
|
|
|
"port": 9222,
|
2021-04-21 18:03:32 +00:00
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/**/*.js"
|
|
|
|
],
|
|
|
|
"resolveSourceMapLocations": [
|
|
|
|
"${workspaceFolder}/out/**/*.js"
|
|
|
|
],
|
2020-11-02 23:15:14 +00:00
|
|
|
"perScriptSourcemaps": "yes"
|
2016-02-19 06:54:45 +00:00
|
|
|
},
|
|
|
|
{
|
2022-08-16 04:16:35 +00:00
|
|
|
"type": "chrome",
|
2016-02-19 06:54:45 +00:00
|
|
|
"request": "launch",
|
2020-12-18 20:09:09 +00:00
|
|
|
"name": "Launch VS Code Internal",
|
2016-09-03 00:15:21 +00:00
|
|
|
"windows": {
|
2019-10-23 09:17:07 +00:00
|
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat"
|
2016-09-03 00:15:21 +00:00
|
|
|
},
|
|
|
|
"osx": {
|
2017-09-19 09:21:41 +00:00
|
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh"
|
2016-09-03 00:15:21 +00:00
|
|
|
},
|
|
|
|
"linux": {
|
2017-09-19 09:21:41 +00:00
|
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh"
|
2017-03-19 01:43:10 +00:00
|
|
|
},
|
2019-11-18 19:54:42 +00:00
|
|
|
"port": 9222,
|
2022-10-06 23:02:09 +00:00
|
|
|
"timeout": 0,
|
2019-03-23 00:18:33 +00:00
|
|
|
"env": {
|
2020-07-31 17:38:31 +00:00
|
|
|
"VSCODE_EXTHOST_WILL_SEND_SOCKET": null,
|
|
|
|
"VSCODE_SKIP_PRELAUNCH": "1"
|
2019-03-23 00:18:33 +00:00
|
|
|
},
|
2020-07-02 18:37:04 +00:00
|
|
|
"cleanUp": "wholeBrowser",
|
2022-09-21 07:38:44 +00:00
|
|
|
"urlFilter": "*workbench*.html*",
|
2017-03-23 13:45:47 +00:00
|
|
|
"runtimeArgs": [
|
2022-08-31 17:13:39 +00:00
|
|
|
"--inspect-brk=5875",
|
2020-01-10 22:34:38 +00:00
|
|
|
"--no-cached-data",
|
2022-06-08 09:11:13 +00:00
|
|
|
"--crash-reporter-directory=${workspaceFolder}/.profile-oss/crashes",
|
2021-08-30 16:50:24 +00:00
|
|
|
// for general runtime freezes: https://github.com/microsoft/vscode/issues/127861#issuecomment-904144910
|
|
|
|
"--disable-features=CalculateNativeWinOcclusion",
|
2018-01-19 05:04:45 +00:00
|
|
|
],
|
2020-01-10 22:34:38 +00:00
|
|
|
"webRoot": "${workspaceFolder}",
|
2020-08-12 23:35:56 +00:00
|
|
|
"cascadeTerminateToConfigurations": [
|
|
|
|
"Attach to Extension Host"
|
|
|
|
],
|
2021-07-09 19:46:47 +00:00
|
|
|
"userDataDir": "${workspaceFolder}/.profile-oss",
|
2020-01-10 22:34:38 +00:00
|
|
|
"pauseForSourceMap": false,
|
2020-02-04 11:35:22 +00:00
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/**/*.js"
|
|
|
|
],
|
2020-07-31 17:38:31 +00:00
|
|
|
"browserLaunchLocation": "workspace",
|
2020-12-18 20:09:09 +00:00
|
|
|
"presentation": {
|
|
|
|
"hidden": true,
|
|
|
|
}
|
2017-04-18 15:16:20 +00:00
|
|
|
},
|
2018-10-18 17:36:34 +00:00
|
|
|
{
|
2022-08-16 04:16:35 +00:00
|
|
|
"type": "node",
|
2018-12-13 09:28:26 +00:00
|
|
|
"request": "launch",
|
2022-01-20 12:48:08 +00:00
|
|
|
"name": "VS Code Server (Web)",
|
|
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code-server.sh",
|
|
|
|
"windows": {
|
|
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code-server.bat",
|
|
|
|
},
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/**/*.js"
|
|
|
|
],
|
2019-12-20 10:09:24 +00:00
|
|
|
"presentation": {
|
2020-04-17 19:22:39 +00:00
|
|
|
"group": "0_vscode",
|
2019-12-20 10:09:24 +00:00
|
|
|
"order": 2
|
|
|
|
}
|
2019-10-15 08:50:25 +00:00
|
|
|
},
|
2020-05-07 08:37:20 +00:00
|
|
|
{
|
2022-08-16 04:16:35 +00:00
|
|
|
"type": "node",
|
2020-05-07 08:37:20 +00:00
|
|
|
"request": "launch",
|
|
|
|
"name": "Main Process",
|
2021-08-05 17:53:59 +00:00
|
|
|
"attachSimplePort": 5875,
|
2020-05-07 08:37:20 +00:00
|
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh",
|
|
|
|
"windows": {
|
|
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat",
|
|
|
|
},
|
|
|
|
"runtimeArgs": [
|
2021-08-05 17:53:59 +00:00
|
|
|
"--inspect-brk=5875",
|
|
|
|
"--no-cached-data",
|
2020-05-07 08:37:20 +00:00
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/**/*.js"
|
|
|
|
],
|
|
|
|
"presentation": {
|
|
|
|
"group": "1_vscode",
|
|
|
|
"order": 1
|
|
|
|
}
|
|
|
|
},
|
2019-10-15 18:27:17 +00:00
|
|
|
{
|
2022-08-16 04:16:35 +00:00
|
|
|
"type": "chrome",
|
2019-10-15 18:27:17 +00:00
|
|
|
"request": "launch",
|
2020-10-21 23:34:59 +00:00
|
|
|
"outFiles": [],
|
|
|
|
"perScriptSourcemaps": "yes",
|
2022-01-20 12:48:08 +00:00
|
|
|
"name": "VS Code Server (Web, Chrome)",
|
|
|
|
"url": "http://localhost:8080?tkn=dev-token",
|
|
|
|
"preLaunchTask": "Run code server",
|
2019-12-20 10:09:24 +00:00
|
|
|
"presentation": {
|
2020-04-17 19:22:39 +00:00
|
|
|
"group": "0_vscode",
|
2019-12-20 10:09:24 +00:00
|
|
|
"order": 3
|
|
|
|
}
|
2019-10-15 18:27:17 +00:00
|
|
|
},
|
2020-06-01 05:26:44 +00:00
|
|
|
{
|
2022-08-16 04:16:35 +00:00
|
|
|
"type": "msedge",
|
2020-06-01 05:26:44 +00:00
|
|
|
"request": "launch",
|
2020-10-21 23:34:59 +00:00
|
|
|
"outFiles": [],
|
|
|
|
"perScriptSourcemaps": "yes",
|
2022-01-20 12:48:08 +00:00
|
|
|
"name": "VS Code Server (Web, Edge)",
|
|
|
|
"url": "http://localhost:8080?tkn=dev-token",
|
2020-06-01 05:26:44 +00:00
|
|
|
"pauseForSourceMap": false,
|
2022-01-20 12:48:08 +00:00
|
|
|
"preLaunchTask": "Run code server",
|
2020-06-01 05:26:44 +00:00
|
|
|
"presentation": {
|
|
|
|
"group": "0_vscode",
|
|
|
|
"order": 3
|
|
|
|
}
|
|
|
|
},
|
2022-09-29 15:45:27 +00:00
|
|
|
{
|
|
|
|
"type": "chrome",
|
|
|
|
"request": "launch",
|
|
|
|
"outFiles": [],
|
|
|
|
"perScriptSourcemaps": "yes",
|
|
|
|
"name": "VS Code Web (Chrome)",
|
|
|
|
"url": "http://localhost:8080",
|
|
|
|
"preLaunchTask": "Run code web",
|
|
|
|
"presentation": {
|
|
|
|
"group": "0_vscode",
|
|
|
|
"order": 3
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "msedge",
|
|
|
|
"request": "launch",
|
|
|
|
"outFiles": [],
|
|
|
|
"perScriptSourcemaps": "yes",
|
|
|
|
"name": "VS Code Web (Edge)",
|
|
|
|
"url": "http://localhost:8080",
|
|
|
|
"pauseForSourceMap": false,
|
|
|
|
"preLaunchTask": "Run code web",
|
|
|
|
"presentation": {
|
|
|
|
"group": "0_vscode",
|
|
|
|
"order": 3
|
|
|
|
}
|
|
|
|
},
|
2017-04-18 15:16:20 +00:00
|
|
|
{
|
|
|
|
"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",
|
2017-04-18 15:16:20 +00:00
|
|
|
"stopOnEntry": false,
|
2017-09-19 09:21:41 +00:00
|
|
|
"cwd": "${workspaceFolder}/extensions/git",
|
2017-04-18 15:16:20 +00:00
|
|
|
"outFiles": [
|
2017-09-19 09:21:41 +00:00
|
|
|
"${workspaceFolder}/extensions/git/out/**/*.js"
|
2019-12-20 10:09:24 +00:00
|
|
|
],
|
|
|
|
"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",
|
2020-01-15 22:08:15 +00:00
|
|
|
"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": [
|
2020-07-10 01:03:05 +00:00
|
|
|
"${workspaceFolder}/extensions/markdown-language-features/test-workspace",
|
2018-03-20 04:08:39 +00:00
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/markdown-language-features",
|
|
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/markdown-language-features/out/test"
|
2018-02-07 23:00:09 +00:00
|
|
|
],
|
|
|
|
"outFiles": [
|
2018-03-20 04:08:39 +00:00
|
|
|
"${workspaceFolder}/extensions/markdown-language-features/out/**/*.js"
|
2019-12-20 10:09:24 +00:00
|
|
|
],
|
|
|
|
"presentation": {
|
|
|
|
"group": "5_tests",
|
|
|
|
"order": 7
|
|
|
|
}
|
2018-02-07 23:00:09 +00:00
|
|
|
},
|
2018-05-02 21:41:37 +00:00
|
|
|
{
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "TypeScript Extension Tests",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
2020-05-15 05:28:20 +00:00
|
|
|
"${workspaceFolder}/extensions/typescript-language-features/test-workspace",
|
2018-05-02 21:41:37 +00:00
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/typescript-language-features",
|
|
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/typescript-language-features/out/test"
|
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/extensions/typescript-language-features/out/**/*.js"
|
2019-12-20 10:09:24 +00:00
|
|
|
],
|
|
|
|
"presentation": {
|
|
|
|
"group": "5_tests",
|
|
|
|
"order": 8
|
|
|
|
}
|
2018-05-02 21:41:37 +00:00
|
|
|
},
|
2017-05-25 23:15:19 +00:00
|
|
|
{
|
2022-08-16 04:16:35 +00:00
|
|
|
"type": "node",
|
2017-05-25 23:15:19 +00:00
|
|
|
"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",
|
2017-05-25 23:15:19 +00:00
|
|
|
"windows": {
|
2017-09-19 09:21:41 +00:00
|
|
|
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.exe"
|
2017-05-25 23:15:19 +00:00
|
|
|
},
|
|
|
|
"linux": {
|
2017-09-19 09:21:41 +00:00
|
|
|
"runtimeExecutable": "${workspaceFolder}/.build/electron/code-oss"
|
2017-05-25 23:15:19 +00:00
|
|
|
},
|
2018-06-18 20:37:24 +00:00
|
|
|
"outputCapture": "std",
|
2017-05-25 23:15:19 +00:00
|
|
|
"args": [
|
2019-03-16 01:38:07 +00:00
|
|
|
"--remote-debugging-port=9222"
|
2017-05-25 23:15:19 +00:00
|
|
|
],
|
2017-09-19 09:21:41 +00:00
|
|
|
"cwd": "${workspaceFolder}",
|
2017-05-25 23:15:19 +00:00
|
|
|
"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
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2022-08-16 04:16:35 +00:00
|
|
|
"type": "node",
|
2020-11-02 23:15:14 +00:00
|
|
|
"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"
|
2019-12-20 10:09:24 +00:00
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"hidden": true
|
2019-09-26 08:50:59 +00:00
|
|
|
}
|
2017-08-29 08:53:45 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Launch Smoke Test",
|
2022-08-26 12:05:37 +00:00
|
|
|
"program": "${workspaceFolder}/test/smoke/test/index.js",
|
2017-09-19 09:21:41 +00:00
|
|
|
"cwd": "${workspaceFolder}/test/smoke",
|
2017-08-29 08:53:45 +00:00
|
|
|
"timeout": 240000,
|
|
|
|
"args": [
|
|
|
|
"-l",
|
2017-09-19 09:21:41 +00:00
|
|
|
"${workspaceFolder}/.build/electron/Code - OSS.app/Contents/MacOS/Electron"
|
2017-08-29 08:53:45 +00:00
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${cwd}/out/**/*.js"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"NODE_ENV": "development",
|
|
|
|
"VSCODE_DEV": "1",
|
|
|
|
"VSCODE_CLI": "1"
|
|
|
|
}
|
2018-07-12 14:40:39 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Launch Built-in Extension",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceRoot}/extensions/debug-auto-launch"
|
|
|
|
]
|
2017-03-23 13:45:47 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"compounds": [
|
|
|
|
{
|
2020-04-17 15:38:50 +00:00
|
|
|
"name": "VS Code",
|
2020-06-03 17:10:24 +00:00
|
|
|
"stopAll": true,
|
2017-04-18 15:16:20 +00:00
|
|
|
"configurations": [
|
2020-12-18 20:09:09 +00:00
|
|
|
"Launch VS Code Internal",
|
2019-11-01 08:04:12 +00:00
|
|
|
"Attach to Main Process",
|
2020-04-17 15:38:50 +00:00
|
|
|
"Attach to Extension Host",
|
|
|
|
"Attach to Shared Process",
|
2019-12-20 10:09:24 +00:00
|
|
|
],
|
2020-08-12 23:35:56 +00:00
|
|
|
"preLaunchTask": "Ensure Prelaunch Dependencies",
|
2019-12-20 10:09:24 +00:00
|
|
|
"presentation": {
|
2020-04-17 15:38:50 +00:00
|
|
|
"group": "0_vscode",
|
2019-12-20 10:09:24 +00:00
|
|
|
"order": 1
|
|
|
|
}
|
2017-09-04 21:08:40 +00:00
|
|
|
},
|
|
|
|
{
|
2022-08-31 17:13:39 +00:00
|
|
|
"name": "Search, Renderer, and Main processes",
|
2017-09-04 21:08:40 +00:00
|
|
|
"configurations": [
|
2020-12-18 20:09:09 +00:00
|
|
|
"Launch VS Code Internal",
|
2022-08-31 17:13:39 +00:00
|
|
|
"Attach to Main Process",
|
2017-09-04 21:08:40 +00:00
|
|
|
"Attach to Search Process"
|
2019-12-20 10:09:24 +00:00
|
|
|
],
|
|
|
|
"presentation": {
|
|
|
|
"group": "1_vscode",
|
|
|
|
"order": 4
|
|
|
|
}
|
2018-05-11 18:36:01 +00:00
|
|
|
},
|
|
|
|
{
|
2022-08-31 17:13:39 +00:00
|
|
|
"name": "Renderer, Extension Host, and Main processes",
|
2018-05-11 18:36:01 +00:00
|
|
|
"configurations": [
|
2020-12-18 20:09:09 +00:00
|
|
|
"Launch VS Code Internal",
|
2022-08-31 17:13:39 +00:00
|
|
|
"Attach to Main Process",
|
2018-05-11 18:36:01 +00:00
|
|
|
"Attach to Extension Host"
|
2019-12-20 10:09:24 +00:00
|
|
|
],
|
|
|
|
"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"
|
2019-12-20 10:09:24 +00:00
|
|
|
],
|
|
|
|
"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
|
|
|
|
}
|
2020-12-18 20:09:09 +00:00
|
|
|
},
|
|
|
|
{
|
2022-08-31 17:13:39 +00:00
|
|
|
"name": "Renderer and Main processes",
|
2020-12-18 20:09:09 +00:00
|
|
|
"stopAll": true,
|
|
|
|
"configurations": [
|
|
|
|
"Launch VS Code Internal",
|
2022-08-31 17:13:39 +00:00
|
|
|
"Attach to Main Process"
|
2020-12-18 20:09:09 +00:00
|
|
|
],
|
|
|
|
"preLaunchTask": "Ensure Prelaunch Dependencies"
|
|
|
|
},
|
2015-11-13 13:39:38 +00:00
|
|
|
]
|
2019-09-26 08:50:59 +00:00
|
|
|
}
|