mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:32:35 -05:00
We need proper command detection to make this work flawlessly, but this does the initial hookup replacing the copilot SDK's terminal tools with our tools which are backed by real PTY's.
836 lines
21 KiB
JSON
836 lines
21 KiB
JSON
{
|
|
"version": "0.1.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Gulp Build",
|
|
"program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js",
|
|
"stopOnEntry": true,
|
|
"args": [
|
|
"hygiene"
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"restart": true,
|
|
"name": "Attach to Extension Host",
|
|
"timeout": 0,
|
|
"port": 5870,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js",
|
|
"${workspaceFolder}/extensions/*/out/**/*.js",
|
|
"${workspaceFolder}/extensions/copilot/dist/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"restart": true,
|
|
"name": "Attach to Shared Process",
|
|
"timeout": 0,
|
|
"port": 5879,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Search Process",
|
|
"port": 5876,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Pty Host Process",
|
|
"port": 5877,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Agent Host Process",
|
|
"port": 5878,
|
|
"restart": true,
|
|
"timeout": 0,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to CLI Process",
|
|
"port": 5874,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Main Process",
|
|
"timeout": 30000,
|
|
"port": 5875,
|
|
"continueOnAttach": true,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"hidden": true,
|
|
}
|
|
},
|
|
{
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"name": "VS Code Emmet Tests",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"${workspaceFolder}/extensions/emmet/test-workspace",
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/emmet",
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/emmet/out/test"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "5_tests",
|
|
"order": 6
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"name": "VS Code API Tests (single folder)",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
// "${workspaceFolder}", // Uncomment for running out of sources.
|
|
"${workspaceFolder}/extensions/vscode-api-tests/testWorkspace",
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-api-tests",
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-api-tests/out/singlefolder-tests",
|
|
"--disable-extensions"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/extensions/vscode-api-tests/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "5_tests",
|
|
"order": 3
|
|
}
|
|
},
|
|
{
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"name": "VS Code API Tests (workspace)",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"${workspaceFolder}/extensions/vscode-api-tests/testworkspace.code-workspace",
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-api-tests",
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-api-tests/out/workspace-tests"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/extensions/vscode-api-tests/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "5_tests",
|
|
"order": 4
|
|
}
|
|
},
|
|
{
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"name": "VS Code Tokenizer Tests",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"${workspaceFolder}/extensions/vscode-colorize-tests/test",
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-colorize-tests",
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-colorize-tests/out"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "5_tests",
|
|
"order": 5
|
|
}
|
|
},
|
|
{
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"name": "VS Code Tokenizer Performance Tests",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"${workspaceFolder}/extensions/vscode-colorize-perf-tests/test",
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-colorize-perf-tests",
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-colorize-perf-tests/out"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "5_tests",
|
|
"order": 6
|
|
}
|
|
},
|
|
{
|
|
"type": "chrome",
|
|
"request": "attach",
|
|
"name": "Attach to VS Code",
|
|
"browserAttachLocation": "workspace",
|
|
"port": 9222,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"resolveSourceMapLocations": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"perScriptSourcemaps": "yes"
|
|
},
|
|
{
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"name": "Launch VS Code Internal",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat"
|
|
},
|
|
"osx": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh"
|
|
},
|
|
"port": 9222,
|
|
"timeout": 0,
|
|
"env": {
|
|
"VSCODE_EXTHOST_WILL_SEND_SOCKET": null,
|
|
"VSCODE_SKIP_PRELAUNCH": "1",
|
|
"VSCODE_DEV_DEBUG_OBSERVABLES": "1",
|
|
},
|
|
"cleanUp": "wholeBrowser",
|
|
"killBehavior": "polite",
|
|
"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",
|
|
"--disable-extension=vscode.vscode-api-tests"
|
|
],
|
|
"userDataDir": "${userHome}/.vscode-oss-dev",
|
|
"webRoot": "${workspaceFolder}",
|
|
"cascadeTerminateToConfigurations": [
|
|
"Attach to Extension Host"
|
|
],
|
|
"pauseForSourceMap": false,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"browserLaunchLocation": "workspace",
|
|
"presentation": {
|
|
"hidden": true,
|
|
},
|
|
},
|
|
{
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"name": "Launch VS Code Agents Internal",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat"
|
|
},
|
|
"osx": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh"
|
|
},
|
|
"port": 9222,
|
|
"timeout": 0,
|
|
"env": {
|
|
"VSCODE_EXTHOST_WILL_SEND_SOCKET": null,
|
|
"VSCODE_SKIP_PRELAUNCH": "1",
|
|
"VSCODE_DEV_DEBUG_OBSERVABLES": "1",
|
|
},
|
|
"cleanUp": "wholeBrowser",
|
|
"killBehavior": "polite",
|
|
"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",
|
|
"--disable-extension=vscode.vscode-api-tests",
|
|
"--agents"
|
|
],
|
|
"userDataDir": "${userHome}/.vscode-oss-agents-dev",
|
|
"webRoot": "${workspaceFolder}",
|
|
"cascadeTerminateToConfigurations": [
|
|
"Attach to Extension Host"
|
|
],
|
|
"pauseForSourceMap": false,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"browserLaunchLocation": "workspace",
|
|
"presentation": {
|
|
"hidden": true,
|
|
},
|
|
},
|
|
{
|
|
// To debug observables you also need the extension "ms-vscode.debug-value-editor"
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"name": "Launch VS Code Internal (Hot Reload)",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat"
|
|
},
|
|
"osx": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh"
|
|
},
|
|
"port": 9222,
|
|
"timeout": 0,
|
|
"env": {
|
|
"VSCODE_EXTHOST_WILL_SEND_SOCKET": null,
|
|
"VSCODE_SKIP_PRELAUNCH": "1",
|
|
"VSCODE_DEV_DEBUG": "1",
|
|
"VSCODE_DEV_SERVER_URL": "http://localhost:5199/build/vite/workbench-vite-electron.html",
|
|
"DEV_WINDOW_SRC": "http://localhost:5199/build/vite/workbench-vite-electron.html",
|
|
"VSCODE_DEV_DEBUG_OBSERVABLES": "1",
|
|
"VSCODE_DEV": "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",
|
|
"--disable-extension=vscode.vscode-api-tests"
|
|
],
|
|
"userDataDir": "${userHome}/.vscode-oss-dev",
|
|
"webRoot": "${workspaceFolder}",
|
|
"cascadeTerminateToConfigurations": [
|
|
"Attach to Extension Host"
|
|
],
|
|
"pauseForSourceMap": false,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"browserLaunchLocation": "workspace",
|
|
"presentation": {
|
|
"hidden": true,
|
|
},
|
|
"preLaunchTask": "Launch Monaco Editor Vite"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"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": {
|
|
"group": "0_vscode",
|
|
"order": 2
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "VS Code Agent Host",
|
|
"outputCapture": "std",
|
|
"program": "./scripts/code-agent-host.js",
|
|
"args": ["--port", "7777", "--without-connection-token"],
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "0_vscode",
|
|
"order": 2
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Main Process",
|
|
"attachSimplePort": 5875,
|
|
"enableContentValidation": false,
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat",
|
|
},
|
|
"runtimeArgs": [
|
|
"--inspect-brk=5875",
|
|
"--no-cached-data",
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "1_vscode",
|
|
"order": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"outFiles": [],
|
|
"perScriptSourcemaps": "yes",
|
|
"name": "VS Code Server (Web, Chrome)",
|
|
"url": "http://localhost:8080?tkn=dev-token",
|
|
"preLaunchTask": "Run code server",
|
|
"presentation": {
|
|
"group": "0_vscode",
|
|
"order": 3
|
|
}
|
|
},
|
|
{
|
|
"type": "msedge",
|
|
"request": "launch",
|
|
"outFiles": [],
|
|
"perScriptSourcemaps": "yes",
|
|
"name": "VS Code Server (Web, Edge)",
|
|
"url": "http://localhost:8080?tkn=dev-token",
|
|
"pauseForSourceMap": false,
|
|
"preLaunchTask": "Run code server",
|
|
"presentation": {
|
|
"group": "0_vscode",
|
|
"order": 3
|
|
}
|
|
},
|
|
{
|
|
"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",
|
|
"program": "${workspaceFolder}/extensions/git/node_modules/mocha/bin/_mocha",
|
|
"stopOnEntry": false,
|
|
"cwd": "${workspaceFolder}/extensions/git",
|
|
"outFiles": [
|
|
"${workspaceFolder}/extensions/git/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "5_tests",
|
|
"order": 10
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "HTML Server Unit Tests",
|
|
"program": "${workspaceFolder}/extensions/html-language-features/server/test/index.js",
|
|
"stopOnEntry": false,
|
|
"cwd": "${workspaceFolder}/extensions/html-language-features/server",
|
|
"outFiles": [
|
|
"${workspaceFolder}/extensions/html-language-features/server/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "5_tests",
|
|
"order": 10
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"name": "Markdown Extension Tests",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"${workspaceFolder}/extensions/markdown-language-features/test-workspace",
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/markdown-language-features",
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/markdown-language-features/out/test"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/extensions/markdown-language-features/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "5_tests",
|
|
"order": 7
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Run Unit Tests",
|
|
"program": "${workspaceFolder}/test/unit/electron/index.js",
|
|
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.app/Contents/MacOS/Code - OSS",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.exe"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceFolder}/.build/electron/code-oss"
|
|
},
|
|
"outputCapture": "std",
|
|
"args": [
|
|
"--remote-debugging-port=9222"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"cascadeTerminateToConfigurations": [
|
|
"Attach to VS Code"
|
|
],
|
|
"env": {
|
|
"MOCHA_COLORS": "true"
|
|
},
|
|
"presentation": {
|
|
"hidden": true
|
|
}
|
|
},
|
|
{
|
|
"type": "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/Code - OSS",
|
|
"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"
|
|
],
|
|
"env": {
|
|
"MOCHA_COLORS": "true"
|
|
},
|
|
"presentation": {
|
|
"hidden": true
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Launch Smoke Test",
|
|
"program": "${workspaceFolder}/test/smoke/test/index.js",
|
|
"cwd": "${workspaceFolder}/test/smoke",
|
|
"timeout": 240000,
|
|
"args": [
|
|
"-l",
|
|
"${workspaceFolder}/.build/electron/Code - OSS.app/Contents/MacOS/Code - OSS"
|
|
],
|
|
"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": "https://microsoft.github.io/monaco-editor/playground.html?source=http%3A%2F%2Flocalhost%3A5199%2Fbuild%2Fvite%2Findex.ts%3Fesm#example-creating-the-editor-hello-world",
|
|
"preLaunchTask": "Launch Monaco Editor Vite",
|
|
"presentation": {
|
|
"group": "monaco",
|
|
"order": 4
|
|
}
|
|
},
|
|
{
|
|
"name": "Component Explorer (Edge)",
|
|
"type": "msedge",
|
|
"request": "launch",
|
|
"url": "http://localhost:5337/___explorer",
|
|
"preLaunchTask": "Component Explorer Server",
|
|
"presentation": {
|
|
"group": "1_component_explorer",
|
|
"order": 4
|
|
}
|
|
},
|
|
{
|
|
"name": "Component Explorer (Chrome)",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"url": "http://localhost:5337/___explorer",
|
|
"preLaunchTask": "Component Explorer Server",
|
|
"presentation": {
|
|
"group": "1_component_explorer",
|
|
"order": 4
|
|
}
|
|
},
|
|
{
|
|
"name": "Monaco Editor - Self Contained Diff Editor",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"url": "http://localhost:5199/build/vite/index.html",
|
|
"preLaunchTask": "Launch Monaco Editor Vite",
|
|
"presentation": {
|
|
"group": "monaco",
|
|
"order": 4
|
|
}
|
|
},
|
|
{
|
|
"name": "Monaco Editor - Workbench",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"url": "http://localhost:5199/build/vite/workbench-vite.html",
|
|
"preLaunchTask": "Launch Monaco Editor Vite",
|
|
"presentation": {
|
|
"group": "monaco",
|
|
"order": 4
|
|
}
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "VS Code",
|
|
"stopAll": true,
|
|
"configurations": [
|
|
"Launch VS Code Internal",
|
|
"Attach to Main Process",
|
|
"Attach to Extension Host",
|
|
"Attach to Shared Process",
|
|
"Attach to Agent Host Process"
|
|
],
|
|
"preLaunchTask": "Ensure Prelaunch Dependencies",
|
|
"presentation": {
|
|
"group": "0_vscode",
|
|
"order": 1
|
|
}
|
|
},
|
|
{
|
|
"name": "VS Code Agents",
|
|
"stopAll": true,
|
|
"configurations": [
|
|
"Launch VS Code Agents Internal",
|
|
"Attach to Main Process",
|
|
"Attach to Extension Host",
|
|
"Attach to Shared Process",
|
|
],
|
|
"preLaunchTask": "Ensure Prelaunch Dependencies",
|
|
"presentation": {
|
|
"group": "0_vscode",
|
|
"order": 1
|
|
}
|
|
},
|
|
{
|
|
"name": "VS Code (Hot Reload)",
|
|
"stopAll": true,
|
|
"configurations": [
|
|
"Launch VS Code Internal (Hot Reload)",
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug Unit Tests",
|
|
"configurations": [
|
|
"Attach to VS Code",
|
|
"Run Unit Tests"
|
|
],
|
|
"presentation": {
|
|
"group": "1_vscode",
|
|
"order": 2
|
|
}
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"name": "Renderer and Agent Host processes",
|
|
"stopAll": true,
|
|
"configurations": [
|
|
"Launch VS Code Internal",
|
|
"Attach to Main Process",
|
|
"Attach to Agent Host Process"
|
|
],
|
|
"preLaunchTask": "Ensure Prelaunch Dependencies"
|
|
},
|
|
]
|
|
}
|