vscode/.vscode/launch.json

609 lines
15 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": 0,
"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": "node",
2016-07-26 08:42:47 +00:00
"request": "attach",
"restart": true,
"name": "Attach to Shared Process",
"timeout": 0,
"port": 5879,
"outFiles": [
"${workspaceFolder}/out/**/*.js"
]
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
},
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",
"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,
"continueOnAttach": true,
"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": [
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"
],
"presentation": {
"group": "5_tests",
"order": 6
}
2017-07-26 02:46:04 +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
}
},
Ask user to select PR templates when forking a repository (#143733) * Add getPullRequestTemplates method to discover templates Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com> * Add method to quick pick for PR templates Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com> * Handle possible PR templates Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com> * Remove unnecessary return value assignment Co-authored-by: João Moreno <mail@joaomoreno.com> * Change comparison operands' order Co-authored-by: João Moreno <mail@joaomoreno.com> * Remove sorting template URIs in pickPullRequestTemplate Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com> * Sort template URIs before showing quick-pick list Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com> * Rename getPullRequestTemplates method to findPullRequestTemplates Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com> * Find Github PR templates in-parallel using readdir/stat Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com> * Export method for visibitliy in tests Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com> * Add tests for Github PR template detection Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com> * Add launcher configration to run Github tests Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com> * :lipstick: * Replace stat with readDirectory for OS native case sensitivity Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com> * Delete some files to avoid duplicate names on case insensitive envs Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com> * Exclude deleted files from test case expected result Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com> Co-authored-by: João Moreno <mail@joaomoreno.com> Co-authored-by: João Moreno <joao.moreno@microsoft.com>
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",
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-api-tests/out/singlefolder-tests",
"--disable-extensions"
2018-01-26 15:16:36 +00:00
],
"outFiles": [
"${workspaceFolder}/extensions/vscode-api-tests/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": [
"${workspaceFolder}/extensions/vscode-api-tests/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
}
},
{
2022-08-16 04:16:35 +00:00
"type": "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,
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"resolveSourceMapLocations": [
"${workspaceFolder}/out/**/*.js"
],
2020-11-02 23:15:14 +00:00
"perScriptSourcemaps": "yes"
},
{
2022-08-16 04:16:35 +00:00
"type": "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,
"timeout": 0,
"env": {
"VSCODE_EXTHOST_WILL_SEND_SOCKET": null,
"VSCODE_SKIP_PRELAUNCH": "1"
},
"cleanUp": "wholeBrowser",
"runtimeArgs": [
"--inspect-brk=5875",
"--no-cached-data",
"--crash-reporter-directory=${workspaceFolder}/.profile-oss/crashes",
// for general runtime freezes: https://github.com/microsoft/vscode/issues/127861#issuecomment-904144910
"--disable-features=CalculateNativeWinOcclusion",
],
"webRoot": "${workspaceFolder}",
"cascadeTerminateToConfigurations": [
"Attach to Extension Host"
],
"userDataDir": "${workspaceFolder}/.profile-oss",
"pauseForSourceMap": false,
2020-02-04 11:35:22 +00:00
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"browserLaunchLocation": "workspace",
"presentation": {
"hidden": true,
}
},
{
2022-08-16 04:16:35 +00:00
"type": "node",
2018-12-13 09:28:26 +00:00
"request": "launch",
"name": "VS Code Server (Web)",
"runtimeExecutable": "${workspaceFolder}/scripts/code-server.sh",
"windows": {
"runtimeExecutable": "${workspaceFolder}/scripts/code-server.bat",
},
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"presentation": {
2020-04-17 19:22:39 +00:00
"group": "0_vscode",
"order": 2
}
},
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",
"attachSimplePort": 5875,
"enableContentValidation": false,
2020-05-07 08:37:20 +00:00
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh",
"windows": {
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat",
},
"runtimeArgs": [
"--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",
"outFiles": [],
"perScriptSourcemaps": "yes",
"name": "VS Code Server (Web, Chrome)",
"url": "http://localhost:8080?tkn=dev-token",
"preLaunchTask": "Run code server",
"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
{
2022-08-16 04:16:35 +00:00
"type": "msedge",
2020-06-01 05:26:44 +00:00
"request": "launch",
"outFiles": [],
"perScriptSourcemaps": "yes",
"name": "VS Code Server (Web, Edge)",
"url": "http://localhost:8080?tkn=dev-token",
2020-06-01 05:26:44 +00:00
"pauseForSourceMap": false,
"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
}
},
{
"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
}
},
{
2022-08-16 04:16:35 +00:00
"type": "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
}
},
{
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"
},
"presentation": {
"hidden": true
2019-09-26 08:50:59 +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",
"timeout": 240000,
"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"
]
},
{
"name": "Monaco Editor Playground",
"type": "chrome",
"request": "launch",
"url": "http://localhost:5001",
"preLaunchTask": "Launch Http Server",
"presentation": {
"group": "monaco",
"order": 4
}
}
],
"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, Renderer, and Main processes",
"configurations": [
"Launch VS Code Internal",
"Attach to Main Process",
"Attach to Search Process"
],
"presentation": {
"group": "1_vscode",
"order": 4
}
},
{
"name": "Renderer, Extension Host, and Main processes",
"configurations": [
"Launch VS Code Internal",
"Attach to Main Process",
"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": "Renderer and Main processes",
"stopAll": true,
"configurations": [
"Launch VS Code Internal",
"Attach to Main Process"
],
"preLaunchTask": "Ensure Prelaunch Dependencies"
},
2015-11-13 13:39:38 +00:00
]
2019-09-26 08:50:59 +00:00
}