mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
111 lines
2.6 KiB
JSON
111 lines
2.6 KiB
JSON
{
|
|
"version": "0.1.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Unit Tests",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
|
|
"runtimeExecutable": "${execPath}",
|
|
"stopOnEntry": false,
|
|
"args": [
|
|
"--timeout",
|
|
"999999"
|
|
],
|
|
"cwd": "${workspaceRoot}",
|
|
"runtimeArgs": [],
|
|
"env": {
|
|
"ELECTRON_RUN_AS_NODE": "true"
|
|
},
|
|
"sourceMaps": true,
|
|
"outDir": "${workspaceRoot}/out"
|
|
},
|
|
{
|
|
"name": "Attach to Extension Host",
|
|
"type": "node",
|
|
"request": "attach",
|
|
"port": 5870,
|
|
"sourceMaps": true,
|
|
"outDir": "${workspaceRoot}/out"
|
|
},
|
|
{
|
|
"name": "Attach to Shared Process",
|
|
"type": "node",
|
|
"request": "attach",
|
|
"port": 5871,
|
|
"sourceMaps": true,
|
|
"outDir": "${workspaceRoot}/out"
|
|
},
|
|
{
|
|
"name": "Attach to CLI Process",
|
|
"type": "node",
|
|
"request": "attach",
|
|
"port": 5874,
|
|
"sourceMaps": true,
|
|
"outDir": "${workspaceRoot}/out"
|
|
},
|
|
{
|
|
"name": "VSCode API Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"${workspaceRoot}/extensions/vscode-api-tests/testWorkspace",
|
|
"--extensionDevelopmentPath=${workspaceRoot}/extensions/vscode-api-tests",
|
|
"--extensionTestsPath=${workspaceRoot}/extensions/vscode-api-tests/out"
|
|
],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outDir": "${workspaceRoot}/out"
|
|
},
|
|
{
|
|
"name": "VSCode Tokenizer Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"${workspaceRoot}/extensions/vscode-colorize-tests/test",
|
|
"--extensionDevelopmentPath=${workspaceRoot}/extensions/vscode-colorize-tests",
|
|
"--extensionTestsPath=${workspaceRoot}/extensions/vscode-colorize-tests/out"
|
|
],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outDir": "${workspaceRoot}/out"
|
|
},
|
|
{
|
|
"name": "Attach to VSCode",
|
|
"type": "chrome",
|
|
"request": "attach",
|
|
"port": 9222,
|
|
"sourceMaps": true
|
|
},
|
|
{
|
|
"name": "Launch VSCode",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceRoot}/scripts/code.bat"
|
|
},
|
|
"osx": {
|
|
"runtimeExecutable": "${workspaceRoot}/scripts/code.sh"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceRoot}/scripts/code.sh"
|
|
},
|
|
"sourceMaps": true
|
|
},
|
|
{
|
|
"name": "Debug monaco",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceRoot}/build/lib/monaco.js",
|
|
"stopOnEntry": false,
|
|
"args": [],
|
|
"cwd": "${workspaceRoot}/build/lib"
|
|
// ,
|
|
// "port": 5870,
|
|
// "sourceMaps": true,
|
|
// "outDir": "${workspaceRoot}/out"
|
|
}
|
|
]
|
|
} |