Created
April 7, 2021 19:55
-
-
Save aeschli/1cb43d196e097fba66c89eea2b4e1185 to your computer and use it in GitHub Desktop.
launch schema codespace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "vscode://schemas/launch", | |
"type": "object", | |
"title": "Launch", | |
"allowTrailingCommas": true, | |
"allowComments": true, | |
"required": [], | |
"default": { | |
"version": "0.2.0", | |
"configurations": [], | |
"compounds": [] | |
}, | |
"properties": { | |
"version": { | |
"type": "string", | |
"description": "Version of this file format.", | |
"default": "0.2.0" | |
}, | |
"configurations": { | |
"type": "array", | |
"description": "List of configurations. Add new configurations or edit existing ones by using IntelliSense.", | |
"items": { | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"name": "${1:Attach}", | |
"port": 9229, | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Attach to a running node program", | |
"label": "Node.js: Attach" | |
}, | |
{ | |
"body": { | |
"address": "${2:TCP/IP address of process to be debugged}", | |
"localRoot": "^\"\\${workspaceFolder}\"", | |
"name": "${1:Attach to Remote}", | |
"port": 9229, | |
"remoteRoot": "${3:Absolute path to the remote directory containing the program}", | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Attach to the debug port of a remote node program", | |
"label": "Node.js: Attach to Remote Program" | |
}, | |
{ | |
"body": { | |
"name": "${1:Attach by Process ID}", | |
"processId": "^\"\\${command:PickProcess}\"", | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Open process picker to select node process to attach to", | |
"label": "Node.js: Attach to Process" | |
}, | |
{ | |
"body": { | |
"name": "${2:Launch Program}", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Launch a node program in debug mode", | |
"label": "Node.js: Launch Program" | |
}, | |
{ | |
"body": { | |
"name": "${1:Launch via NPM}", | |
"request": "launch", | |
"runtimeArgs": [ | |
"run-script", | |
"debug" | |
], | |
"runtimeExecutable": "npm", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"label": "Node.js: Launch via npm", | |
"markdownDescription": "Launch a node program through an npm `debug` script" | |
}, | |
{ | |
"body": { | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"name": "nodemon", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"request": "launch", | |
"restart": true, | |
"runtimeExecutable": "nodemon", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Use nodemon to relaunch a debug session on source changes", | |
"label": "Node.js: Nodemon Setup" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"-u", | |
"tdd", | |
"--timeout", | |
"999999", | |
"--colors", | |
"^\"\\${workspaceFolder}/${1:test}\"" | |
], | |
"internalConsoleOptions": "openOnSessionStart", | |
"name": "Mocha Tests", | |
"program": "^\"\\${workspaceFolder}/node_modules/mocha/bin/_mocha\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug mocha tests", | |
"label": "Node.js: Mocha Tests" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"${1:generator}" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"name": "Yeoman ${1:generator}", | |
"program": "^\"\\${workspaceFolder}/node_modules/yo/lib/cli.js\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"label": "Node.js: Yeoman generator", | |
"markdownDescription": "Debug yeoman generator (install by running `npm link` in project folder)" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"${1:task}" | |
], | |
"name": "Gulp ${1:task}", | |
"program": "^\"\\${workspaceFolder}/node_modules/gulp/bin/gulp.js\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug gulp task (make sure to have a local gulp installed in your project)", | |
"label": "Node.js: Gulp task" | |
}, | |
{ | |
"body": { | |
"name": "Electron Main", | |
"program": "^\"\\${workspaceFolder}/main.js\"", | |
"request": "launch", | |
"runtimeExecutable": "^\"\\${workspaceFolder}/node_modules/.bin/electron\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug the Electron main process", | |
"label": "Node.js: Electron Main" | |
}, | |
{ | |
"body": { | |
"command": "npm start", | |
"name": "Run npm start", | |
"request": "launch", | |
"type": "node-terminal" | |
}, | |
"description": "Run \"npm start\" in a debug terminal", | |
"label": "Run \"npm start\" in a debug terminal" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"^\"--extensionDevelopmentPath=\\${workspaceFolder}\"" | |
], | |
"name": "Launch Extension", | |
"outFiles": [ | |
"^\"\\${workspaceFolder}/out/**/*.js\"" | |
], | |
"preLaunchTask": "npm", | |
"request": "launch", | |
"type": "pwa-extensionHost" | |
}, | |
"description": "Launch a VS Code extension in debug mode", | |
"label": "VS Code Extension Development" | |
}, | |
{ | |
"body": { | |
"name": "Launch Chrome", | |
"request": "launch", | |
"type": "pwa-chrome", | |
"url": "http://localhost:8080", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Launch Chrome to debug a URL", | |
"label": "Chrome: Launch" | |
}, | |
{ | |
"body": { | |
"name": "Attach to Chrome", | |
"port": 9222, | |
"request": "attach", | |
"type": "pwa-chrome", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Attach to an instance of Chrome already in debug mode", | |
"label": "Chrome: Attach" | |
}, | |
{ | |
"body": { | |
"name": "Launch Edge", | |
"request": "launch", | |
"type": "pwa-msedge", | |
"url": "http://localhost:8080", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Launch Edge to debug a URL", | |
"label": "Edge: Launch" | |
}, | |
{ | |
"body": { | |
"name": "Attach to Edge", | |
"port": 9222, | |
"request": "attach", | |
"type": "pwa-msedge", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Attach to an instance of Edge already in debug mode", | |
"label": "Edge: Attach" | |
}, | |
{ | |
"label": "Node.js: Launch Program", | |
"description": "Launch a node program in debug mode", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "${2:Launch Program}", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Launch via NPM", | |
"markdownDescription": "Launch a node program through an npm `debug` script", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "${1:Launch via NPM}", | |
"runtimeExecutable": "npm", | |
"runtimeArgs": [ | |
"run-script", | |
"debug" | |
], | |
"port": 9229, | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach", | |
"description": "Attach to a running node program", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach}", | |
"port": 9229, | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach to Remote Program", | |
"description": "Attach to the debug port of a remote node program", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach to Remote}", | |
"address": "${2:TCP/IP address of process to be debugged}", | |
"port": 9229, | |
"localRoot": "^\"\\${workspaceFolder}\"", | |
"remoteRoot": "${3:Absolute path to the remote directory containing the program}", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach to Process", | |
"description": "Open process picker to select node process to attach to", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach by Process ID}", | |
"processId": "^\"\\${command:PickProcess}\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Nodemon Setup", | |
"description": "Use nodemon to relaunch a debug session on source changes", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "nodemon", | |
"runtimeExecutable": "nodemon", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"restart": true, | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Mocha Tests", | |
"description": "Debug mocha tests", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Mocha Tests", | |
"program": "^\"\\${workspaceFolder}/node_modules/mocha/bin/_mocha\"", | |
"args": [ | |
"-u", | |
"tdd", | |
"--timeout", | |
"999999", | |
"--colors", | |
"^\"\\${workspaceFolder}/${1:test}\"" | |
], | |
"internalConsoleOptions": "openOnSessionStart", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Yeoman generator", | |
"markdownDescription": "Debug yeoman generator (install by running `npm link` in project folder)", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Yeoman ${1:generator}", | |
"program": "^\"\\${workspaceFolder}/node_modules/yo/lib/cli.js\"", | |
"args": [ | |
"${1:generator}" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Gulp task", | |
"description": "Debug gulp task (make sure to have a local gulp installed in your project)", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Gulp ${1:task}", | |
"program": "^\"\\${workspaceFolder}/node_modules/gulp/bin/gulp.js\"", | |
"args": [ | |
"${1:task}" | |
], | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Electron Main", | |
"description": "Debug the Electron main process", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Electron Main", | |
"runtimeExecutable": "^\"\\${workspaceFolder}/node_modules/.bin/electron\"", | |
"program": "^\"\\${workspaceFolder}/main.js\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "VS Code Extension Development", | |
"description": "Launch a VS Code extension in debug mode", | |
"body": { | |
"type": "extensionHost", | |
"request": "launch", | |
"name": "Launch Extension", | |
"runtimeExecutable": "^\"\\${execPath}\"", | |
"args": [ | |
"^\"--extensionDevelopmentPath=\\${workspaceFolder}\"" | |
], | |
"outFiles": [ | |
"^\"\\${workspaceFolder}/out/**/*.js\"" | |
], | |
"preLaunchTask": "npm" | |
} | |
}, | |
{ | |
"body": { | |
"name": "${1:Attach}", | |
"port": 9229, | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Attach to a running node program", | |
"label": "Node.js: Attach" | |
}, | |
{ | |
"body": { | |
"address": "${2:TCP/IP address of process to be debugged}", | |
"localRoot": "^\"\\${workspaceFolder}\"", | |
"name": "${1:Attach to Remote}", | |
"port": 9229, | |
"remoteRoot": "${3:Absolute path to the remote directory containing the program}", | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Attach to the debug port of a remote node program", | |
"label": "Node.js: Attach to Remote Program" | |
}, | |
{ | |
"body": { | |
"name": "${1:Attach by Process ID}", | |
"processId": "^\"\\${command:PickProcess}\"", | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Open process picker to select node process to attach to", | |
"label": "Node.js: Attach to Process" | |
}, | |
{ | |
"body": { | |
"name": "${2:Launch Program}", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Launch a node program in debug mode", | |
"label": "Node.js: Launch Program" | |
}, | |
{ | |
"body": { | |
"name": "${1:Launch via NPM}", | |
"request": "launch", | |
"runtimeArgs": [ | |
"run-script", | |
"debug" | |
], | |
"runtimeExecutable": "npm", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"label": "Node.js: Launch via npm", | |
"markdownDescription": "Launch a node program through an npm `debug` script" | |
}, | |
{ | |
"body": { | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"name": "nodemon", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"request": "launch", | |
"restart": true, | |
"runtimeExecutable": "nodemon", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Use nodemon to relaunch a debug session on source changes", | |
"label": "Node.js: Nodemon Setup" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"-u", | |
"tdd", | |
"--timeout", | |
"999999", | |
"--colors", | |
"^\"\\${workspaceFolder}/${1:test}\"" | |
], | |
"internalConsoleOptions": "openOnSessionStart", | |
"name": "Mocha Tests", | |
"program": "^\"\\${workspaceFolder}/node_modules/mocha/bin/_mocha\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug mocha tests", | |
"label": "Node.js: Mocha Tests" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"${1:generator}" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"name": "Yeoman ${1:generator}", | |
"program": "^\"\\${workspaceFolder}/node_modules/yo/lib/cli.js\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"label": "Node.js: Yeoman generator", | |
"markdownDescription": "Debug yeoman generator (install by running `npm link` in project folder)" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"${1:task}" | |
], | |
"name": "Gulp ${1:task}", | |
"program": "^\"\\${workspaceFolder}/node_modules/gulp/bin/gulp.js\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug gulp task (make sure to have a local gulp installed in your project)", | |
"label": "Node.js: Gulp task" | |
}, | |
{ | |
"body": { | |
"name": "Electron Main", | |
"program": "^\"\\${workspaceFolder}/main.js\"", | |
"request": "launch", | |
"runtimeExecutable": "^\"\\${workspaceFolder}/node_modules/.bin/electron\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug the Electron main process", | |
"label": "Node.js: Electron Main" | |
}, | |
{ | |
"body": { | |
"command": "npm start", | |
"name": "Run npm start", | |
"request": "launch", | |
"type": "node-terminal" | |
}, | |
"description": "Run \"npm start\" in a debug terminal", | |
"label": "Run \"npm start\" in a debug terminal" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"^\"--extensionDevelopmentPath=\\${workspaceFolder}\"" | |
], | |
"name": "Launch Extension", | |
"outFiles": [ | |
"^\"\\${workspaceFolder}/out/**/*.js\"" | |
], | |
"preLaunchTask": "npm", | |
"request": "launch", | |
"type": "pwa-extensionHost" | |
}, | |
"description": "Launch a VS Code extension in debug mode", | |
"label": "VS Code Extension Development" | |
}, | |
{ | |
"body": { | |
"name": "Launch Chrome", | |
"request": "launch", | |
"type": "pwa-chrome", | |
"url": "http://localhost:8080", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Launch Chrome to debug a URL", | |
"label": "Chrome: Launch" | |
}, | |
{ | |
"body": { | |
"name": "Attach to Chrome", | |
"port": 9222, | |
"request": "attach", | |
"type": "pwa-chrome", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Attach to an instance of Chrome already in debug mode", | |
"label": "Chrome: Attach" | |
}, | |
{ | |
"body": { | |
"name": "Launch Edge", | |
"request": "launch", | |
"type": "pwa-msedge", | |
"url": "http://localhost:8080", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Launch Edge to debug a URL", | |
"label": "Edge: Launch" | |
}, | |
{ | |
"body": { | |
"name": "Attach to Edge", | |
"port": 9222, | |
"request": "attach", | |
"type": "pwa-msedge", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Attach to an instance of Edge already in debug mode", | |
"label": "Edge: Attach" | |
}, | |
{ | |
"label": "Node.js: Launch Program", | |
"description": "Launch a node program in debug mode", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "${2:Launch Program}", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Launch via NPM", | |
"markdownDescription": "Launch a node program through an npm `debug` script", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "${1:Launch via NPM}", | |
"runtimeExecutable": "npm", | |
"runtimeArgs": [ | |
"run-script", | |
"debug" | |
], | |
"port": 9229, | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach", | |
"description": "Attach to a running node program", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach}", | |
"port": 9229, | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach to Remote Program", | |
"description": "Attach to the debug port of a remote node program", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach to Remote}", | |
"address": "${2:TCP/IP address of process to be debugged}", | |
"port": 9229, | |
"localRoot": "^\"\\${workspaceFolder}\"", | |
"remoteRoot": "${3:Absolute path to the remote directory containing the program}", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach to Process", | |
"description": "Open process picker to select node process to attach to", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach by Process ID}", | |
"processId": "^\"\\${command:PickProcess}\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Nodemon Setup", | |
"description": "Use nodemon to relaunch a debug session on source changes", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "nodemon", | |
"runtimeExecutable": "nodemon", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"restart": true, | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Mocha Tests", | |
"description": "Debug mocha tests", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Mocha Tests", | |
"program": "^\"\\${workspaceFolder}/node_modules/mocha/bin/_mocha\"", | |
"args": [ | |
"-u", | |
"tdd", | |
"--timeout", | |
"999999", | |
"--colors", | |
"^\"\\${workspaceFolder}/${1:test}\"" | |
], | |
"internalConsoleOptions": "openOnSessionStart", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Yeoman generator", | |
"markdownDescription": "Debug yeoman generator (install by running `npm link` in project folder)", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Yeoman ${1:generator}", | |
"program": "^\"\\${workspaceFolder}/node_modules/yo/lib/cli.js\"", | |
"args": [ | |
"${1:generator}" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Gulp task", | |
"description": "Debug gulp task (make sure to have a local gulp installed in your project)", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Gulp ${1:task}", | |
"program": "^\"\\${workspaceFolder}/node_modules/gulp/bin/gulp.js\"", | |
"args": [ | |
"${1:task}" | |
], | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Electron Main", | |
"description": "Debug the Electron main process", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Electron Main", | |
"runtimeExecutable": "^\"\\${workspaceFolder}/node_modules/.bin/electron\"", | |
"program": "^\"\\${workspaceFolder}/main.js\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "VS Code Extension Development", | |
"description": "Launch a VS Code extension in debug mode", | |
"body": { | |
"type": "extensionHost", | |
"request": "launch", | |
"name": "Launch Extension", | |
"runtimeExecutable": "^\"\\${execPath}\"", | |
"args": [ | |
"^\"--extensionDevelopmentPath=\\${workspaceFolder}\"" | |
], | |
"outFiles": [ | |
"^\"\\${workspaceFolder}/out/**/*.js\"" | |
], | |
"preLaunchTask": "npm" | |
} | |
}, | |
{ | |
"body": { | |
"name": "${1:Attach}", | |
"port": 9229, | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Attach to a running node program", | |
"label": "Node.js: Attach" | |
}, | |
{ | |
"body": { | |
"address": "${2:TCP/IP address of process to be debugged}", | |
"localRoot": "^\"\\${workspaceFolder}\"", | |
"name": "${1:Attach to Remote}", | |
"port": 9229, | |
"remoteRoot": "${3:Absolute path to the remote directory containing the program}", | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Attach to the debug port of a remote node program", | |
"label": "Node.js: Attach to Remote Program" | |
}, | |
{ | |
"body": { | |
"name": "${1:Attach by Process ID}", | |
"processId": "^\"\\${command:PickProcess}\"", | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Open process picker to select node process to attach to", | |
"label": "Node.js: Attach to Process" | |
}, | |
{ | |
"body": { | |
"name": "${2:Launch Program}", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Launch a node program in debug mode", | |
"label": "Node.js: Launch Program" | |
}, | |
{ | |
"body": { | |
"name": "${1:Launch via NPM}", | |
"request": "launch", | |
"runtimeArgs": [ | |
"run-script", | |
"debug" | |
], | |
"runtimeExecutable": "npm", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"label": "Node.js: Launch via npm", | |
"markdownDescription": "Launch a node program through an npm `debug` script" | |
}, | |
{ | |
"body": { | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"name": "nodemon", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"request": "launch", | |
"restart": true, | |
"runtimeExecutable": "nodemon", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Use nodemon to relaunch a debug session on source changes", | |
"label": "Node.js: Nodemon Setup" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"-u", | |
"tdd", | |
"--timeout", | |
"999999", | |
"--colors", | |
"^\"\\${workspaceFolder}/${1:test}\"" | |
], | |
"internalConsoleOptions": "openOnSessionStart", | |
"name": "Mocha Tests", | |
"program": "^\"\\${workspaceFolder}/node_modules/mocha/bin/_mocha\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug mocha tests", | |
"label": "Node.js: Mocha Tests" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"${1:generator}" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"name": "Yeoman ${1:generator}", | |
"program": "^\"\\${workspaceFolder}/node_modules/yo/lib/cli.js\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"label": "Node.js: Yeoman generator", | |
"markdownDescription": "Debug yeoman generator (install by running `npm link` in project folder)" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"${1:task}" | |
], | |
"name": "Gulp ${1:task}", | |
"program": "^\"\\${workspaceFolder}/node_modules/gulp/bin/gulp.js\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug gulp task (make sure to have a local gulp installed in your project)", | |
"label": "Node.js: Gulp task" | |
}, | |
{ | |
"body": { | |
"name": "Electron Main", | |
"program": "^\"\\${workspaceFolder}/main.js\"", | |
"request": "launch", | |
"runtimeExecutable": "^\"\\${workspaceFolder}/node_modules/.bin/electron\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug the Electron main process", | |
"label": "Node.js: Electron Main" | |
}, | |
{ | |
"body": { | |
"command": "npm start", | |
"name": "Run npm start", | |
"request": "launch", | |
"type": "node-terminal" | |
}, | |
"description": "Run \"npm start\" in a debug terminal", | |
"label": "Run \"npm start\" in a debug terminal" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"^\"--extensionDevelopmentPath=\\${workspaceFolder}\"" | |
], | |
"name": "Launch Extension", | |
"outFiles": [ | |
"^\"\\${workspaceFolder}/out/**/*.js\"" | |
], | |
"preLaunchTask": "npm", | |
"request": "launch", | |
"type": "pwa-extensionHost" | |
}, | |
"description": "Launch a VS Code extension in debug mode", | |
"label": "VS Code Extension Development" | |
}, | |
{ | |
"body": { | |
"name": "Launch Chrome", | |
"request": "launch", | |
"type": "pwa-chrome", | |
"url": "http://localhost:8080", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Launch Chrome to debug a URL", | |
"label": "Chrome: Launch" | |
}, | |
{ | |
"body": { | |
"name": "Attach to Chrome", | |
"port": 9222, | |
"request": "attach", | |
"type": "pwa-chrome", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Attach to an instance of Chrome already in debug mode", | |
"label": "Chrome: Attach" | |
}, | |
{ | |
"body": { | |
"name": "Launch Edge", | |
"request": "launch", | |
"type": "pwa-msedge", | |
"url": "http://localhost:8080", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Launch Edge to debug a URL", | |
"label": "Edge: Launch" | |
}, | |
{ | |
"body": { | |
"name": "Attach to Edge", | |
"port": 9222, | |
"request": "attach", | |
"type": "pwa-msedge", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Attach to an instance of Edge already in debug mode", | |
"label": "Edge: Attach" | |
}, | |
{ | |
"label": "Node.js: Launch Program", | |
"description": "Launch a node program in debug mode", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "${2:Launch Program}", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Launch via NPM", | |
"markdownDescription": "Launch a node program through an npm `debug` script", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "${1:Launch via NPM}", | |
"runtimeExecutable": "npm", | |
"runtimeArgs": [ | |
"run-script", | |
"debug" | |
], | |
"port": 9229, | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach", | |
"description": "Attach to a running node program", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach}", | |
"port": 9229, | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach to Remote Program", | |
"description": "Attach to the debug port of a remote node program", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach to Remote}", | |
"address": "${2:TCP/IP address of process to be debugged}", | |
"port": 9229, | |
"localRoot": "^\"\\${workspaceFolder}\"", | |
"remoteRoot": "${3:Absolute path to the remote directory containing the program}", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach to Process", | |
"description": "Open process picker to select node process to attach to", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach by Process ID}", | |
"processId": "^\"\\${command:PickProcess}\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Nodemon Setup", | |
"description": "Use nodemon to relaunch a debug session on source changes", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "nodemon", | |
"runtimeExecutable": "nodemon", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"restart": true, | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Mocha Tests", | |
"description": "Debug mocha tests", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Mocha Tests", | |
"program": "^\"\\${workspaceFolder}/node_modules/mocha/bin/_mocha\"", | |
"args": [ | |
"-u", | |
"tdd", | |
"--timeout", | |
"999999", | |
"--colors", | |
"^\"\\${workspaceFolder}/${1:test}\"" | |
], | |
"internalConsoleOptions": "openOnSessionStart", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Yeoman generator", | |
"markdownDescription": "Debug yeoman generator (install by running `npm link` in project folder)", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Yeoman ${1:generator}", | |
"program": "^\"\\${workspaceFolder}/node_modules/yo/lib/cli.js\"", | |
"args": [ | |
"${1:generator}" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Gulp task", | |
"description": "Debug gulp task (make sure to have a local gulp installed in your project)", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Gulp ${1:task}", | |
"program": "^\"\\${workspaceFolder}/node_modules/gulp/bin/gulp.js\"", | |
"args": [ | |
"${1:task}" | |
], | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Electron Main", | |
"description": "Debug the Electron main process", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Electron Main", | |
"runtimeExecutable": "^\"\\${workspaceFolder}/node_modules/.bin/electron\"", | |
"program": "^\"\\${workspaceFolder}/main.js\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "VS Code Extension Development", | |
"description": "Launch a VS Code extension in debug mode", | |
"body": { | |
"type": "extensionHost", | |
"request": "launch", | |
"name": "Launch Extension", | |
"runtimeExecutable": "^\"\\${execPath}\"", | |
"args": [ | |
"^\"--extensionDevelopmentPath=\\${workspaceFolder}\"" | |
], | |
"outFiles": [ | |
"^\"\\${workspaceFolder}/out/**/*.js\"" | |
], | |
"preLaunchTask": "npm" | |
} | |
}, | |
{ | |
"label": "Docker: Attach to Node", | |
"description": "Docker: Attach to Node", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "Docker: Attach to Node", | |
"remoteRoot": "/usr/src/app" | |
} | |
}, | |
{ | |
"label": "Docker: .NET Core Attach (Preview)", | |
"description": "Docker: Attach to a .NET Core process in a container", | |
"body": { | |
"name": "Docker .NET Core Attach (Preview)", | |
"type": "docker", | |
"request": "attach", | |
"platform": "netCore", | |
"sourceFileMap": { | |
"/src": "^\"\\${workspaceFolder}\"" | |
} | |
} | |
}, | |
{ | |
"body": { | |
"name": "${1:Attach}", | |
"port": 9229, | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Attach to a running node program", | |
"label": "Node.js: Attach" | |
}, | |
{ | |
"body": { | |
"address": "${2:TCP/IP address of process to be debugged}", | |
"localRoot": "^\"\\${workspaceFolder}\"", | |
"name": "${1:Attach to Remote}", | |
"port": 9229, | |
"remoteRoot": "${3:Absolute path to the remote directory containing the program}", | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Attach to the debug port of a remote node program", | |
"label": "Node.js: Attach to Remote Program" | |
}, | |
{ | |
"body": { | |
"name": "${1:Attach by Process ID}", | |
"processId": "^\"\\${command:PickProcess}\"", | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Open process picker to select node process to attach to", | |
"label": "Node.js: Attach to Process" | |
}, | |
{ | |
"body": { | |
"name": "${2:Launch Program}", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Launch a node program in debug mode", | |
"label": "Node.js: Launch Program" | |
}, | |
{ | |
"body": { | |
"name": "${1:Launch via NPM}", | |
"request": "launch", | |
"runtimeArgs": [ | |
"run-script", | |
"debug" | |
], | |
"runtimeExecutable": "npm", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"label": "Node.js: Launch via npm", | |
"markdownDescription": "Launch a node program through an npm `debug` script" | |
}, | |
{ | |
"body": { | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"name": "nodemon", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"request": "launch", | |
"restart": true, | |
"runtimeExecutable": "nodemon", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Use nodemon to relaunch a debug session on source changes", | |
"label": "Node.js: Nodemon Setup" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"-u", | |
"tdd", | |
"--timeout", | |
"999999", | |
"--colors", | |
"^\"\\${workspaceFolder}/${1:test}\"" | |
], | |
"internalConsoleOptions": "openOnSessionStart", | |
"name": "Mocha Tests", | |
"program": "^\"\\${workspaceFolder}/node_modules/mocha/bin/_mocha\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug mocha tests", | |
"label": "Node.js: Mocha Tests" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"${1:generator}" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"name": "Yeoman ${1:generator}", | |
"program": "^\"\\${workspaceFolder}/node_modules/yo/lib/cli.js\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"label": "Node.js: Yeoman generator", | |
"markdownDescription": "Debug yeoman generator (install by running `npm link` in project folder)" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"${1:task}" | |
], | |
"name": "Gulp ${1:task}", | |
"program": "^\"\\${workspaceFolder}/node_modules/gulp/bin/gulp.js\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug gulp task (make sure to have a local gulp installed in your project)", | |
"label": "Node.js: Gulp task" | |
}, | |
{ | |
"body": { | |
"name": "Electron Main", | |
"program": "^\"\\${workspaceFolder}/main.js\"", | |
"request": "launch", | |
"runtimeExecutable": "^\"\\${workspaceFolder}/node_modules/.bin/electron\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug the Electron main process", | |
"label": "Node.js: Electron Main" | |
}, | |
{ | |
"body": { | |
"command": "npm start", | |
"name": "Run npm start", | |
"request": "launch", | |
"type": "node-terminal" | |
}, | |
"description": "Run \"npm start\" in a debug terminal", | |
"label": "Run \"npm start\" in a debug terminal" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"^\"--extensionDevelopmentPath=\\${workspaceFolder}\"" | |
], | |
"name": "Launch Extension", | |
"outFiles": [ | |
"^\"\\${workspaceFolder}/out/**/*.js\"" | |
], | |
"preLaunchTask": "npm", | |
"request": "launch", | |
"type": "pwa-extensionHost" | |
}, | |
"description": "Launch a VS Code extension in debug mode", | |
"label": "VS Code Extension Development" | |
}, | |
{ | |
"body": { | |
"name": "Launch Chrome", | |
"request": "launch", | |
"type": "pwa-chrome", | |
"url": "http://localhost:8080", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Launch Chrome to debug a URL", | |
"label": "Chrome: Launch" | |
}, | |
{ | |
"body": { | |
"name": "Attach to Chrome", | |
"port": 9222, | |
"request": "attach", | |
"type": "pwa-chrome", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Attach to an instance of Chrome already in debug mode", | |
"label": "Chrome: Attach" | |
}, | |
{ | |
"body": { | |
"name": "Launch Edge", | |
"request": "launch", | |
"type": "pwa-msedge", | |
"url": "http://localhost:8080", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Launch Edge to debug a URL", | |
"label": "Edge: Launch" | |
}, | |
{ | |
"body": { | |
"name": "Attach to Edge", | |
"port": 9222, | |
"request": "attach", | |
"type": "pwa-msedge", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Attach to an instance of Edge already in debug mode", | |
"label": "Edge: Attach" | |
}, | |
{ | |
"label": "Node.js: Launch Program", | |
"description": "Launch a node program in debug mode", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "${2:Launch Program}", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Launch via NPM", | |
"markdownDescription": "Launch a node program through an npm `debug` script", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "${1:Launch via NPM}", | |
"runtimeExecutable": "npm", | |
"runtimeArgs": [ | |
"run-script", | |
"debug" | |
], | |
"port": 9229, | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach", | |
"description": "Attach to a running node program", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach}", | |
"port": 9229, | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach to Remote Program", | |
"description": "Attach to the debug port of a remote node program", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach to Remote}", | |
"address": "${2:TCP/IP address of process to be debugged}", | |
"port": 9229, | |
"localRoot": "^\"\\${workspaceFolder}\"", | |
"remoteRoot": "${3:Absolute path to the remote directory containing the program}", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach to Process", | |
"description": "Open process picker to select node process to attach to", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach by Process ID}", | |
"processId": "^\"\\${command:PickProcess}\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Nodemon Setup", | |
"description": "Use nodemon to relaunch a debug session on source changes", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "nodemon", | |
"runtimeExecutable": "nodemon", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"restart": true, | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Mocha Tests", | |
"description": "Debug mocha tests", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Mocha Tests", | |
"program": "^\"\\${workspaceFolder}/node_modules/mocha/bin/_mocha\"", | |
"args": [ | |
"-u", | |
"tdd", | |
"--timeout", | |
"999999", | |
"--colors", | |
"^\"\\${workspaceFolder}/${1:test}\"" | |
], | |
"internalConsoleOptions": "openOnSessionStart", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Yeoman generator", | |
"markdownDescription": "Debug yeoman generator (install by running `npm link` in project folder)", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Yeoman ${1:generator}", | |
"program": "^\"\\${workspaceFolder}/node_modules/yo/lib/cli.js\"", | |
"args": [ | |
"${1:generator}" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Gulp task", | |
"description": "Debug gulp task (make sure to have a local gulp installed in your project)", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Gulp ${1:task}", | |
"program": "^\"\\${workspaceFolder}/node_modules/gulp/bin/gulp.js\"", | |
"args": [ | |
"${1:task}" | |
], | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Electron Main", | |
"description": "Debug the Electron main process", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Electron Main", | |
"runtimeExecutable": "^\"\\${workspaceFolder}/node_modules/.bin/electron\"", | |
"program": "^\"\\${workspaceFolder}/main.js\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "VS Code Extension Development", | |
"description": "Launch a VS Code extension in debug mode", | |
"body": { | |
"type": "extensionHost", | |
"request": "launch", | |
"name": "Launch Extension", | |
"runtimeExecutable": "^\"\\${execPath}\"", | |
"args": [ | |
"^\"--extensionDevelopmentPath=\\${workspaceFolder}\"" | |
], | |
"outFiles": [ | |
"^\"\\${workspaceFolder}/out/**/*.js\"" | |
], | |
"preLaunchTask": "npm" | |
} | |
}, | |
{ | |
"label": "Docker: Attach to Node", | |
"description": "Docker: Attach to Node", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "Docker: Attach to Node", | |
"remoteRoot": "/usr/src/app" | |
} | |
}, | |
{ | |
"label": "Docker: .NET Core Attach (Preview)", | |
"description": "Docker: Attach to a .NET Core process in a container", | |
"body": { | |
"name": "Docker .NET Core Attach (Preview)", | |
"type": "docker", | |
"request": "attach", | |
"platform": "netCore", | |
"sourceFileMap": { | |
"/src": "^\"\\${workspaceFolder}\"" | |
} | |
} | |
}, | |
{ | |
"body": { | |
"name": "${1:Attach}", | |
"port": 9229, | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Attach to a running node program", | |
"label": "Node.js: Attach" | |
}, | |
{ | |
"body": { | |
"address": "${2:TCP/IP address of process to be debugged}", | |
"localRoot": "^\"\\${workspaceFolder}\"", | |
"name": "${1:Attach to Remote}", | |
"port": 9229, | |
"remoteRoot": "${3:Absolute path to the remote directory containing the program}", | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Attach to the debug port of a remote node program", | |
"label": "Node.js: Attach to Remote Program" | |
}, | |
{ | |
"body": { | |
"name": "${1:Attach by Process ID}", | |
"processId": "^\"\\${command:PickProcess}\"", | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Open process picker to select node process to attach to", | |
"label": "Node.js: Attach to Process" | |
}, | |
{ | |
"body": { | |
"name": "${2:Launch Program}", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Launch a node program in debug mode", | |
"label": "Node.js: Launch Program" | |
}, | |
{ | |
"body": { | |
"name": "${1:Launch via NPM}", | |
"request": "launch", | |
"runtimeArgs": [ | |
"run-script", | |
"debug" | |
], | |
"runtimeExecutable": "npm", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"label": "Node.js: Launch via npm", | |
"markdownDescription": "Launch a node program through an npm `debug` script" | |
}, | |
{ | |
"body": { | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"name": "nodemon", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"request": "launch", | |
"restart": true, | |
"runtimeExecutable": "nodemon", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Use nodemon to relaunch a debug session on source changes", | |
"label": "Node.js: Nodemon Setup" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"-u", | |
"tdd", | |
"--timeout", | |
"999999", | |
"--colors", | |
"^\"\\${workspaceFolder}/${1:test}\"" | |
], | |
"internalConsoleOptions": "openOnSessionStart", | |
"name": "Mocha Tests", | |
"program": "^\"\\${workspaceFolder}/node_modules/mocha/bin/_mocha\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug mocha tests", | |
"label": "Node.js: Mocha Tests" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"${1:generator}" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"name": "Yeoman ${1:generator}", | |
"program": "^\"\\${workspaceFolder}/node_modules/yo/lib/cli.js\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"label": "Node.js: Yeoman generator", | |
"markdownDescription": "Debug yeoman generator (install by running `npm link` in project folder)" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"${1:task}" | |
], | |
"name": "Gulp ${1:task}", | |
"program": "^\"\\${workspaceFolder}/node_modules/gulp/bin/gulp.js\"", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug gulp task (make sure to have a local gulp installed in your project)", | |
"label": "Node.js: Gulp task" | |
}, | |
{ | |
"body": { | |
"name": "Electron Main", | |
"program": "^\"\\${workspaceFolder}/main.js\"", | |
"request": "launch", | |
"runtimeExecutable": "^\"\\${workspaceFolder}/node_modules/.bin/electron\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"type": "pwa-node" | |
}, | |
"description": "Debug the Electron main process", | |
"label": "Node.js: Electron Main" | |
}, | |
{ | |
"body": { | |
"command": "npm start", | |
"name": "Run npm start", | |
"request": "launch", | |
"type": "node-terminal" | |
}, | |
"description": "Run \"npm start\" in a debug terminal", | |
"label": "Run \"npm start\" in a debug terminal" | |
}, | |
{ | |
"body": { | |
"args": [ | |
"^\"--extensionDevelopmentPath=\\${workspaceFolder}\"" | |
], | |
"name": "Launch Extension", | |
"outFiles": [ | |
"^\"\\${workspaceFolder}/out/**/*.js\"" | |
], | |
"preLaunchTask": "npm", | |
"request": "launch", | |
"type": "pwa-extensionHost" | |
}, | |
"description": "Launch a VS Code extension in debug mode", | |
"label": "VS Code Extension Development" | |
}, | |
{ | |
"body": { | |
"name": "Launch Chrome", | |
"request": "launch", | |
"type": "pwa-chrome", | |
"url": "http://localhost:8080", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Launch Chrome to debug a URL", | |
"label": "Chrome: Launch" | |
}, | |
{ | |
"body": { | |
"name": "Attach to Chrome", | |
"port": 9222, | |
"request": "attach", | |
"type": "pwa-chrome", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Attach to an instance of Chrome already in debug mode", | |
"label": "Chrome: Attach" | |
}, | |
{ | |
"body": { | |
"name": "Launch Edge", | |
"request": "launch", | |
"type": "pwa-msedge", | |
"url": "http://localhost:8080", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Launch Edge to debug a URL", | |
"label": "Edge: Launch" | |
}, | |
{ | |
"body": { | |
"name": "Attach to Edge", | |
"port": 9222, | |
"request": "attach", | |
"type": "pwa-msedge", | |
"webRoot": "^\"${2:\\${workspaceFolder\\}}\"" | |
}, | |
"description": "Attach to an instance of Edge already in debug mode", | |
"label": "Edge: Attach" | |
}, | |
{ | |
"label": "Node.js: Launch Program", | |
"description": "Launch a node program in debug mode", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "${2:Launch Program}", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Launch via NPM", | |
"markdownDescription": "Launch a node program through an npm `debug` script", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "${1:Launch via NPM}", | |
"runtimeExecutable": "npm", | |
"runtimeArgs": [ | |
"run-script", | |
"debug" | |
], | |
"port": 9229, | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach", | |
"description": "Attach to a running node program", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach}", | |
"port": 9229, | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach to Remote Program", | |
"description": "Attach to the debug port of a remote node program", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach to Remote}", | |
"address": "${2:TCP/IP address of process to be debugged}", | |
"port": 9229, | |
"localRoot": "^\"\\${workspaceFolder}\"", | |
"remoteRoot": "${3:Absolute path to the remote directory containing the program}", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Attach to Process", | |
"description": "Open process picker to select node process to attach to", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "${1:Attach by Process ID}", | |
"processId": "^\"\\${command:PickProcess}\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Nodemon Setup", | |
"description": "Use nodemon to relaunch a debug session on source changes", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "nodemon", | |
"runtimeExecutable": "nodemon", | |
"program": "^\"\\${workspaceFolder}/${1:app.js}\"", | |
"restart": true, | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Mocha Tests", | |
"description": "Debug mocha tests", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Mocha Tests", | |
"program": "^\"\\${workspaceFolder}/node_modules/mocha/bin/_mocha\"", | |
"args": [ | |
"-u", | |
"tdd", | |
"--timeout", | |
"999999", | |
"--colors", | |
"^\"\\${workspaceFolder}/${1:test}\"" | |
], | |
"internalConsoleOptions": "openOnSessionStart", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Yeoman generator", | |
"markdownDescription": "Debug yeoman generator (install by running `npm link` in project folder)", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Yeoman ${1:generator}", | |
"program": "^\"\\${workspaceFolder}/node_modules/yo/lib/cli.js\"", | |
"args": [ | |
"${1:generator}" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Gulp task", | |
"description": "Debug gulp task (make sure to have a local gulp installed in your project)", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Gulp ${1:task}", | |
"program": "^\"\\${workspaceFolder}/node_modules/gulp/bin/gulp.js\"", | |
"args": [ | |
"${1:task}" | |
], | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "Node.js: Electron Main", | |
"description": "Debug the Electron main process", | |
"body": { | |
"type": "node", | |
"request": "launch", | |
"name": "Electron Main", | |
"runtimeExecutable": "^\"\\${workspaceFolder}/node_modules/.bin/electron\"", | |
"program": "^\"\\${workspaceFolder}/main.js\"", | |
"skipFiles": [ | |
"<node_internals>/**" | |
] | |
} | |
}, | |
{ | |
"label": "VS Code Extension Development", | |
"description": "Launch a VS Code extension in debug mode", | |
"body": { | |
"type": "extensionHost", | |
"request": "launch", | |
"name": "Launch Extension", | |
"runtimeExecutable": "^\"\\${execPath}\"", | |
"args": [ | |
"^\"--extensionDevelopmentPath=\\${workspaceFolder}\"" | |
], | |
"outFiles": [ | |
"^\"\\${workspaceFolder}/out/**/*.js\"" | |
], | |
"preLaunchTask": "npm" | |
} | |
}, | |
{ | |
"label": "Docker: Attach to Node", | |
"description": "Docker: Attach to Node", | |
"body": { | |
"type": "node", | |
"request": "attach", | |
"name": "Docker: Attach to Node", | |
"remoteRoot": "/usr/src/app" | |
} | |
}, | |
{ | |
"label": "Docker: .NET Core Attach (Preview)", | |
"description": "Docker: Attach to a .NET Core process in a container", | |
"body": { | |
"name": "Docker .NET Core Attach (Preview)", | |
"type": "docker", | |
"request": "attach", | |
"platform": "netCore", | |
"sourceFileMap": { | |
"/src": "^\"\\${workspaceFolder}\"" | |
} | |
} | |
} | |
], | |
"type": "object", | |
"oneOf": [ | |
{ | |
"properties": { | |
"address": { | |
"default": "localhost", | |
"description": "TCP/IP address of process to be debugged. Default is 'localhost'.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"attachExistingChildren": { | |
"default": false, | |
"description": "Whether to attempt to attach to already-spawned child processes.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"continueOnAttach": { | |
"default": true, | |
"markdownDescription": "If true, we'll automatically resume programs launched and waiting on `--inspect-brk`", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"port": { | |
"default": 9229, | |
"description": "Debug port to attach to. Default is 5858.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"processId": { | |
"default": "${command:PickProcess}", | |
"description": "ID of process to attach to.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"restart": { | |
"default": true, | |
"description": "Try to reconnect to the program if we lose connection. If set to `true`, we'll try once a second, forever. You can customize the interval and maximum number of attempts by specifying the `delay` and `maxAttempts` in an object instead.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"delay": { | |
"default": 1000, | |
"minimum": 0, | |
"type": "number" | |
}, | |
"maxAttempts": { | |
"default": 10, | |
"minimum": 0, | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"websocketAddress": { | |
"description": "Exact websocket address to attach to. If unspecified, it will be discovered from the address and port.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"type": { | |
"enum": [ | |
"pwa-node" | |
], | |
"description": "Type of configuration.", | |
"pattern": "^(?!node2)", | |
"errorMessage": "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled.", | |
"patternErrorMessage": "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"." | |
}, | |
"name": { | |
"type": "string", | |
"description": "Name of configuration; appears in the launch configuration dropdown menu.", | |
"default": "Launch", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"request": { | |
"enum": [ | |
"attach" | |
], | |
"description": "Request type of configuration. Can be \"launch\" or \"attach\".", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"debugServer": { | |
"type": "number", | |
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", | |
"default": 4711, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"preLaunchTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run before debug session starts.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"postDebugTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run after debug session ends.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"presentation": { | |
"type": "object", | |
"description": "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette.", | |
"properties": { | |
"hidden": { | |
"type": "boolean", | |
"default": false, | |
"description": "Controls if this configuration should be shown in the configuration dropdown and the command palette." | |
}, | |
"group": { | |
"type": "string", | |
"default": "", | |
"description": "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette." | |
}, | |
"order": { | |
"type": "number", | |
"default": 1, | |
"description": "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette." | |
} | |
}, | |
"default": { | |
"hidden": false, | |
"group": "", | |
"order": 1 | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"internalConsoleOptions": { | |
"enum": [ | |
"neverOpen", | |
"openOnSessionStart", | |
"openOnFirstSessionStart" | |
], | |
"default": "openOnFirstSessionStart", | |
"description": "Controls when the internal debug console should open.", | |
"scope": 3, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"windows": { | |
"type": "object", | |
"description": "Windows specific launch configuration attributes.", | |
"properties": { | |
"address": { | |
"default": "localhost", | |
"description": "TCP/IP address of process to be debugged. Default is 'localhost'.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"attachExistingChildren": { | |
"default": false, | |
"description": "Whether to attempt to attach to already-spawned child processes.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"continueOnAttach": { | |
"default": true, | |
"markdownDescription": "If true, we'll automatically resume programs launched and waiting on `--inspect-brk`", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"port": { | |
"default": 9229, | |
"description": "Debug port to attach to. Default is 5858.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"processId": { | |
"default": "${command:PickProcess}", | |
"description": "ID of process to attach to.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"restart": { | |
"default": true, | |
"description": "Try to reconnect to the program if we lose connection. If set to `true`, we'll try once a second, forever. You can customize the interval and maximum number of attempts by specifying the `delay` and `maxAttempts` in an object instead.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"delay": { | |
"default": 1000, | |
"minimum": 0, | |
"type": "number" | |
}, | |
"maxAttempts": { | |
"default": 10, | |
"minimum": 0, | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"websocketAddress": { | |
"description": "Exact websocket address to attach to. If unspecified, it will be discovered from the address and port.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"type": { | |
"enum": [ | |
"pwa-node" | |
], | |
"description": "Type of configuration.", | |
"pattern": "^(?!node2)", | |
"errorMessage": "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled.", | |
"patternErrorMessage": "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"." | |
}, | |
"name": { | |
"type": "string", | |
"description": "Name of configuration; appears in the launch configuration dropdown menu.", | |
"default": "Launch" | |
}, | |
"request": { | |
"enum": [ | |
"attach" | |
], | |
"description": "Request type of configuration. Can be \"launch\" or \"attach\"." | |
}, | |
"debugServer": { | |
"type": "number", | |
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", | |
"default": 4711 | |
}, | |
"preLaunchTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run before debug session starts." | |
}, | |
"postDebugTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run after debug session ends." | |
}, | |
"presentation": { | |
"type": "object", | |
"description": "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette.", | |
"properties": { | |
"hidden": { | |
"type": "boolean", | |
"default": false, | |
"description": "Controls if this configuration should be shown in the configuration dropdown and the command palette." | |
}, | |
"group": { | |
"type": "string", | |
"default": "", | |
"description": "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette." | |
}, | |
"order": { | |
"type": "number", | |
"default": 1, | |
"description": "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette." | |
} | |
}, | |
"default": { | |
"hidden": false, | |
"group": "", | |
"order": 1 | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"internalConsoleOptions": { | |
"enum": [ | |
"neverOpen", | |
"openOnSessionStart", | |
"openOnFirstSessionStart" | |
], | |
"default": "openOnFirstSessionStart", | |
"description": "Controls when the internal debug console should open.", | |
"scope": 3, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
} | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"osx": { | |
"type": "object", | |
"description": "OS X specific launch configuration attributes.", | |
"properties": { | |
"address": { | |
"default": "localhost", | |
"description": "TCP/IP address of process to be debugged. Default is 'localhost'.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"attachExistingChildren": { | |
"default": false, | |
"description": "Whether to attempt to attach to already-spawned child processes.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"continueOnAttach": { | |
"default": true, | |
"markdownDescription": "If true, we'll automatically resume programs launched and waiting on `--inspect-brk`", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"port": { | |
"default": 9229, | |
"description": "Debug port to attach to. Default is 5858.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"processId": { | |
"default": "${command:PickProcess}", | |
"description": "ID of process to attach to.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"restart": { | |
"default": true, | |
"description": "Try to reconnect to the program if we lose connection. If set to `true`, we'll try once a second, forever. You can customize the interval and maximum number of attempts by specifying the `delay` and `maxAttempts` in an object instead.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"delay": { | |
"default": 1000, | |
"minimum": 0, | |
"type": "number" | |
}, | |
"maxAttempts": { | |
"default": 10, | |
"minimum": 0, | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"websocketAddress": { | |
"description": "Exact websocket address to attach to. If unspecified, it will be discovered from the address and port.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"type": { | |
"enum": [ | |
"pwa-node" | |
], | |
"description": "Type of configuration.", | |
"pattern": "^(?!node2)", | |
"errorMessage": "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled.", | |
"patternErrorMessage": "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"." | |
}, | |
"name": { | |
"type": "string", | |
"description": "Name of configuration; appears in the launch configuration dropdown menu.", | |
"default": "Launch" | |
}, | |
"request": { | |
"enum": [ | |
"attach" | |
], | |
"description": "Request type of configuration. Can be \"launch\" or \"attach\"." | |
}, | |
"debugServer": { | |
"type": "number", | |
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", | |
"default": 4711 | |
}, | |
"preLaunchTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run before debug session starts." | |
}, | |
"postDebugTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run after debug session ends." | |
}, | |
"presentation": { | |
"type": "object", | |
"description": "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette.", | |
"properties": { | |
"hidden": { | |
"type": "boolean", | |
"default": false, | |
"description": "Controls if this configuration should be shown in the configuration dropdown and the command palette." | |
}, | |
"group": { | |
"type": "string", | |
"default": "", | |
"description": "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette." | |
}, | |
"order": { | |
"type": "number", | |
"default": 1, | |
"description": "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette." | |
} | |
}, | |
"default": { | |
"hidden": false, | |
"group": "", | |
"order": 1 | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"internalConsoleOptions": { | |
"enum": [ | |
"neverOpen", | |
"openOnSessionStart", | |
"openOnFirstSessionStart" | |
], | |
"default": "openOnFirstSessionStart", | |
"description": "Controls when the internal debug console should open.", | |
"scope": 3, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
} | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"linux": { | |
"type": "object", | |
"description": "Linux specific launch configuration attributes.", | |
"properties": { | |
"address": { | |
"default": "localhost", | |
"description": "TCP/IP address of process to be debugged. Default is 'localhost'.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"attachExistingChildren": { | |
"default": false, | |
"description": "Whether to attempt to attach to already-spawned child processes.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"continueOnAttach": { | |
"default": true, | |
"markdownDescription": "If true, we'll automatically resume programs launched and waiting on `--inspect-brk`", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"port": { | |
"default": 9229, | |
"description": "Debug port to attach to. Default is 5858.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"processId": { | |
"default": "${command:PickProcess}", | |
"description": "ID of process to attach to.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"restart": { | |
"default": true, | |
"description": "Try to reconnect to the program if we lose connection. If set to `true`, we'll try once a second, forever. You can customize the interval and maximum number of attempts by specifying the `delay` and `maxAttempts` in an object instead.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"delay": { | |
"default": 1000, | |
"minimum": 0, | |
"type": "number" | |
}, | |
"maxAttempts": { | |
"default": 10, | |
"minimum": 0, | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"websocketAddress": { | |
"description": "Exact websocket address to attach to. If unspecified, it will be discovered from the address and port.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"type": { | |
"enum": [ | |
"pwa-node" | |
], | |
"description": "Type of configuration.", | |
"pattern": "^(?!node2)", | |
"errorMessage": "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled.", | |
"patternErrorMessage": "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"." | |
}, | |
"name": { | |
"type": "string", | |
"description": "Name of configuration; appears in the launch configuration dropdown menu.", | |
"default": "Launch" | |
}, | |
"request": { | |
"enum": [ | |
"attach" | |
], | |
"description": "Request type of configuration. Can be \"launch\" or \"attach\"." | |
}, | |
"debugServer": { | |
"type": "number", | |
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", | |
"default": 4711 | |
}, | |
"preLaunchTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run before debug session starts." | |
}, | |
"postDebugTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run after debug session ends." | |
}, | |
"presentation": { | |
"type": "object", | |
"description": "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette.", | |
"properties": { | |
"hidden": { | |
"type": "boolean", | |
"default": false, | |
"description": "Controls if this configuration should be shown in the configuration dropdown and the command palette." | |
}, | |
"group": { | |
"type": "string", | |
"default": "", | |
"description": "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette." | |
}, | |
"order": { | |
"type": "number", | |
"default": 1, | |
"description": "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette." | |
} | |
}, | |
"default": { | |
"hidden": false, | |
"group": "", | |
"order": 1 | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"internalConsoleOptions": { | |
"enum": [ | |
"neverOpen", | |
"openOnSessionStart", | |
"openOnFirstSessionStart" | |
], | |
"default": "openOnFirstSessionStart", | |
"description": "Controls when the internal debug console should open.", | |
"scope": 3, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
} | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
} | |
}, | |
"required": [ | |
"name", | |
"type", | |
"request", | |
"name", | |
"type", | |
"request", | |
"name", | |
"type", | |
"request", | |
"name", | |
"type", | |
"request", | |
"name", | |
"type", | |
"request" | |
], | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"args": { | |
"default": [], | |
"description": "Command line arguments passed to the program.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"attachSimplePort": { | |
"default": 9229, | |
"description": "If set, attaches to the process via the given port. This is generally no longer necessary for Node.js programs and loses the ability to debug child processes, but can be useful in more esoteric scenarios such as with Deno and Docker launches. If set to 0, a random port will be chosen and --inspect-brk added to the launch arguments automatically.", | |
"type": "integer", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"console": { | |
"default": "internalConsole", | |
"description": "Where to launch the debug target.", | |
"enum": [ | |
"internalConsole", | |
"integratedTerminal", | |
"externalTerminal" | |
], | |
"enumDescriptions": [ | |
"VS Code Debug Console (which doesn't support to read input from a program)", | |
"VS Code's integrated terminal", | |
"External terminal that can be configured via user settings" | |
], | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"killBehavior": { | |
"default": "forceful", | |
"enum": [ | |
"forceful", | |
"polite", | |
"none" | |
], | |
"markdownDescription": "Configures how debug process are killed when stopping the sesssion. Can be:\n\n- forceful (default): forcefully tears down the process tree. Sends SIGKILL on posix, or `taskkill.exe /F` on Windows.\n- polite: gracefully tears down the process tree. It's possible that misbehaving processes continue to run after shutdown in this way. Sends SIGTERM on posix, or `taskkill.exe` with no `/F` (force) flag on Windows.\n- none: no termination will happen.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"profileStartup": { | |
"default": true, | |
"description": "If true, will start profiling soon as the process launches", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"program": { | |
"default": "", | |
"description": "Absolute path to the program. Generated value is guessed by looking at package.json and opened files. Edit this attribute.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"restart": { | |
"default": true, | |
"description": "Try to reconnect to the program if we lose connection. If set to `true`, we'll try once a second, forever. You can customize the interval and maximum number of attempts by specifying the `delay` and `maxAttempts` in an object instead.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"delay": { | |
"default": 1000, | |
"minimum": 0, | |
"type": "number" | |
}, | |
"maxAttempts": { | |
"default": 10, | |
"minimum": 0, | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeArgs": { | |
"default": [], | |
"description": "Optional arguments passed to the runtime executable.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeExecutable": { | |
"default": "node", | |
"markdownDescription": "Runtime to use. Either an absolute path or the name of a runtime available on the PATH. If omitted `node` is assumed.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeVersion": { | |
"default": "default", | |
"markdownDescription": "Version of `node` runtime to use. Requires `nvm`.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"stopOnEntry": { | |
"default": true, | |
"description": "Automatically stop program after launch.", | |
"type": [ | |
"boolean", | |
"string" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"serverReadyAction": { | |
"oneOf": [ | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"openExternally" | |
], | |
"enumDescriptions": [ | |
"Open URI externally with the default application." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"debugWithChrome" | |
], | |
"enumDescriptions": [ | |
"Start debugging with the 'Debugger for Chrome'." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
}, | |
"webRoot": { | |
"type": "string", | |
"markdownDescription": "Value passed to the debug configuration for the 'Debugger for Chrome'.", | |
"default": "${workspaceFolder}" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "startDebugging", | |
"name": "<launch browser config name>" | |
}, | |
"required": [ | |
"name" | |
], | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"startDebugging" | |
], | |
"enumDescriptions": [ | |
"Run another launch configuration." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "startDebugging" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"name": { | |
"type": "string", | |
"markdownDescription": "Name of the launch configuration to run.", | |
"default": "Launch Browser" | |
} | |
} | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"type": { | |
"enum": [ | |
"pwa-node" | |
], | |
"description": "Type of configuration.", | |
"pattern": "^(?!node2)", | |
"errorMessage": "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled.", | |
"patternErrorMessage": "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"." | |
}, | |
"name": { | |
"type": "string", | |
"description": "Name of configuration; appears in the launch configuration dropdown menu.", | |
"default": "Launch", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"request": { | |
"enum": [ | |
"launch" | |
], | |
"description": "Request type of configuration. Can be \"launch\" or \"attach\".", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"debugServer": { | |
"type": "number", | |
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", | |
"default": 4711, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"preLaunchTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run before debug session starts.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"postDebugTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run after debug session ends.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"presentation": { | |
"type": "object", | |
"description": "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette.", | |
"properties": { | |
"hidden": { | |
"type": "boolean", | |
"default": false, | |
"description": "Controls if this configuration should be shown in the configuration dropdown and the command palette." | |
}, | |
"group": { | |
"type": "string", | |
"default": "", | |
"description": "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette." | |
}, | |
"order": { | |
"type": "number", | |
"default": 1, | |
"description": "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette." | |
} | |
}, | |
"default": { | |
"hidden": false, | |
"group": "", | |
"order": 1 | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"internalConsoleOptions": { | |
"enum": [ | |
"neverOpen", | |
"openOnSessionStart", | |
"openOnFirstSessionStart" | |
], | |
"default": "openOnFirstSessionStart", | |
"description": "Controls when the internal debug console should open.", | |
"scope": 3, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"windows": { | |
"type": "object", | |
"description": "Windows specific launch configuration attributes.", | |
"properties": { | |
"args": { | |
"default": [], | |
"description": "Command line arguments passed to the program.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"attachSimplePort": { | |
"default": 9229, | |
"description": "If set, attaches to the process via the given port. This is generally no longer necessary for Node.js programs and loses the ability to debug child processes, but can be useful in more esoteric scenarios such as with Deno and Docker launches. If set to 0, a random port will be chosen and --inspect-brk added to the launch arguments automatically.", | |
"type": "integer", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"console": { | |
"default": "internalConsole", | |
"description": "Where to launch the debug target.", | |
"enum": [ | |
"internalConsole", | |
"integratedTerminal", | |
"externalTerminal" | |
], | |
"enumDescriptions": [ | |
"VS Code Debug Console (which doesn't support to read input from a program)", | |
"VS Code's integrated terminal", | |
"External terminal that can be configured via user settings" | |
], | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"killBehavior": { | |
"default": "forceful", | |
"enum": [ | |
"forceful", | |
"polite", | |
"none" | |
], | |
"markdownDescription": "Configures how debug process are killed when stopping the sesssion. Can be:\n\n- forceful (default): forcefully tears down the process tree. Sends SIGKILL on posix, or `taskkill.exe /F` on Windows.\n- polite: gracefully tears down the process tree. It's possible that misbehaving processes continue to run after shutdown in this way. Sends SIGTERM on posix, or `taskkill.exe` with no `/F` (force) flag on Windows.\n- none: no termination will happen.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"profileStartup": { | |
"default": true, | |
"description": "If true, will start profiling soon as the process launches", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"program": { | |
"default": "", | |
"description": "Absolute path to the program. Generated value is guessed by looking at package.json and opened files. Edit this attribute.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"restart": { | |
"default": true, | |
"description": "Try to reconnect to the program if we lose connection. If set to `true`, we'll try once a second, forever. You can customize the interval and maximum number of attempts by specifying the `delay` and `maxAttempts` in an object instead.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"delay": { | |
"default": 1000, | |
"minimum": 0, | |
"type": "number" | |
}, | |
"maxAttempts": { | |
"default": 10, | |
"minimum": 0, | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeArgs": { | |
"default": [], | |
"description": "Optional arguments passed to the runtime executable.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeExecutable": { | |
"default": "node", | |
"markdownDescription": "Runtime to use. Either an absolute path or the name of a runtime available on the PATH. If omitted `node` is assumed.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeVersion": { | |
"default": "default", | |
"markdownDescription": "Version of `node` runtime to use. Requires `nvm`.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"stopOnEntry": { | |
"default": true, | |
"description": "Automatically stop program after launch.", | |
"type": [ | |
"boolean", | |
"string" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"serverReadyAction": { | |
"oneOf": [ | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"openExternally" | |
], | |
"enumDescriptions": [ | |
"Open URI externally with the default application." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"debugWithChrome" | |
], | |
"enumDescriptions": [ | |
"Start debugging with the 'Debugger for Chrome'." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
}, | |
"webRoot": { | |
"type": "string", | |
"markdownDescription": "Value passed to the debug configuration for the 'Debugger for Chrome'.", | |
"default": "${workspaceFolder}" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "startDebugging", | |
"name": "<launch browser config name>" | |
}, | |
"required": [ | |
"name" | |
], | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"startDebugging" | |
], | |
"enumDescriptions": [ | |
"Run another launch configuration." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "startDebugging" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"name": { | |
"type": "string", | |
"markdownDescription": "Name of the launch configuration to run.", | |
"default": "Launch Browser" | |
} | |
} | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"type": { | |
"enum": [ | |
"pwa-node" | |
], | |
"description": "Type of configuration.", | |
"pattern": "^(?!node2)", | |
"errorMessage": "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled.", | |
"patternErrorMessage": "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"." | |
}, | |
"name": { | |
"type": "string", | |
"description": "Name of configuration; appears in the launch configuration dropdown menu.", | |
"default": "Launch" | |
}, | |
"request": { | |
"enum": [ | |
"launch" | |
], | |
"description": "Request type of configuration. Can be \"launch\" or \"attach\"." | |
}, | |
"debugServer": { | |
"type": "number", | |
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", | |
"default": 4711 | |
}, | |
"preLaunchTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run before debug session starts." | |
}, | |
"postDebugTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run after debug session ends." | |
}, | |
"presentation": { | |
"type": "object", | |
"description": "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette.", | |
"properties": { | |
"hidden": { | |
"type": "boolean", | |
"default": false, | |
"description": "Controls if this configuration should be shown in the configuration dropdown and the command palette." | |
}, | |
"group": { | |
"type": "string", | |
"default": "", | |
"description": "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette." | |
}, | |
"order": { | |
"type": "number", | |
"default": 1, | |
"description": "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette." | |
} | |
}, | |
"default": { | |
"hidden": false, | |
"group": "", | |
"order": 1 | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"internalConsoleOptions": { | |
"enum": [ | |
"neverOpen", | |
"openOnSessionStart", | |
"openOnFirstSessionStart" | |
], | |
"default": "openOnFirstSessionStart", | |
"description": "Controls when the internal debug console should open.", | |
"scope": 3, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
} | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"osx": { | |
"type": "object", | |
"description": "OS X specific launch configuration attributes.", | |
"properties": { | |
"args": { | |
"default": [], | |
"description": "Command line arguments passed to the program.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"attachSimplePort": { | |
"default": 9229, | |
"description": "If set, attaches to the process via the given port. This is generally no longer necessary for Node.js programs and loses the ability to debug child processes, but can be useful in more esoteric scenarios such as with Deno and Docker launches. If set to 0, a random port will be chosen and --inspect-brk added to the launch arguments automatically.", | |
"type": "integer", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"console": { | |
"default": "internalConsole", | |
"description": "Where to launch the debug target.", | |
"enum": [ | |
"internalConsole", | |
"integratedTerminal", | |
"externalTerminal" | |
], | |
"enumDescriptions": [ | |
"VS Code Debug Console (which doesn't support to read input from a program)", | |
"VS Code's integrated terminal", | |
"External terminal that can be configured via user settings" | |
], | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"killBehavior": { | |
"default": "forceful", | |
"enum": [ | |
"forceful", | |
"polite", | |
"none" | |
], | |
"markdownDescription": "Configures how debug process are killed when stopping the sesssion. Can be:\n\n- forceful (default): forcefully tears down the process tree. Sends SIGKILL on posix, or `taskkill.exe /F` on Windows.\n- polite: gracefully tears down the process tree. It's possible that misbehaving processes continue to run after shutdown in this way. Sends SIGTERM on posix, or `taskkill.exe` with no `/F` (force) flag on Windows.\n- none: no termination will happen.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"profileStartup": { | |
"default": true, | |
"description": "If true, will start profiling soon as the process launches", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"program": { | |
"default": "", | |
"description": "Absolute path to the program. Generated value is guessed by looking at package.json and opened files. Edit this attribute.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"restart": { | |
"default": true, | |
"description": "Try to reconnect to the program if we lose connection. If set to `true`, we'll try once a second, forever. You can customize the interval and maximum number of attempts by specifying the `delay` and `maxAttempts` in an object instead.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"delay": { | |
"default": 1000, | |
"minimum": 0, | |
"type": "number" | |
}, | |
"maxAttempts": { | |
"default": 10, | |
"minimum": 0, | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeArgs": { | |
"default": [], | |
"description": "Optional arguments passed to the runtime executable.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeExecutable": { | |
"default": "node", | |
"markdownDescription": "Runtime to use. Either an absolute path or the name of a runtime available on the PATH. If omitted `node` is assumed.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeVersion": { | |
"default": "default", | |
"markdownDescription": "Version of `node` runtime to use. Requires `nvm`.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"stopOnEntry": { | |
"default": true, | |
"description": "Automatically stop program after launch.", | |
"type": [ | |
"boolean", | |
"string" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"serverReadyAction": { | |
"oneOf": [ | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"openExternally" | |
], | |
"enumDescriptions": [ | |
"Open URI externally with the default application." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"debugWithChrome" | |
], | |
"enumDescriptions": [ | |
"Start debugging with the 'Debugger for Chrome'." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
}, | |
"webRoot": { | |
"type": "string", | |
"markdownDescription": "Value passed to the debug configuration for the 'Debugger for Chrome'.", | |
"default": "${workspaceFolder}" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "startDebugging", | |
"name": "<launch browser config name>" | |
}, | |
"required": [ | |
"name" | |
], | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"startDebugging" | |
], | |
"enumDescriptions": [ | |
"Run another launch configuration." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "startDebugging" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"name": { | |
"type": "string", | |
"markdownDescription": "Name of the launch configuration to run.", | |
"default": "Launch Browser" | |
} | |
} | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"type": { | |
"enum": [ | |
"pwa-node" | |
], | |
"description": "Type of configuration.", | |
"pattern": "^(?!node2)", | |
"errorMessage": "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled.", | |
"patternErrorMessage": "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"." | |
}, | |
"name": { | |
"type": "string", | |
"description": "Name of configuration; appears in the launch configuration dropdown menu.", | |
"default": "Launch" | |
}, | |
"request": { | |
"enum": [ | |
"launch" | |
], | |
"description": "Request type of configuration. Can be \"launch\" or \"attach\"." | |
}, | |
"debugServer": { | |
"type": "number", | |
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", | |
"default": 4711 | |
}, | |
"preLaunchTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run before debug session starts." | |
}, | |
"postDebugTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run after debug session ends." | |
}, | |
"presentation": { | |
"type": "object", | |
"description": "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette.", | |
"properties": { | |
"hidden": { | |
"type": "boolean", | |
"default": false, | |
"description": "Controls if this configuration should be shown in the configuration dropdown and the command palette." | |
}, | |
"group": { | |
"type": "string", | |
"default": "", | |
"description": "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette." | |
}, | |
"order": { | |
"type": "number", | |
"default": 1, | |
"description": "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette." | |
} | |
}, | |
"default": { | |
"hidden": false, | |
"group": "", | |
"order": 1 | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"internalConsoleOptions": { | |
"enum": [ | |
"neverOpen", | |
"openOnSessionStart", | |
"openOnFirstSessionStart" | |
], | |
"default": "openOnFirstSessionStart", | |
"description": "Controls when the internal debug console should open.", | |
"scope": 3, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
} | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"linux": { | |
"type": "object", | |
"description": "Linux specific launch configuration attributes.", | |
"properties": { | |
"args": { | |
"default": [], | |
"description": "Command line arguments passed to the program.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"attachSimplePort": { | |
"default": 9229, | |
"description": "If set, attaches to the process via the given port. This is generally no longer necessary for Node.js programs and loses the ability to debug child processes, but can be useful in more esoteric scenarios such as with Deno and Docker launches. If set to 0, a random port will be chosen and --inspect-brk added to the launch arguments automatically.", | |
"type": "integer", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"console": { | |
"default": "internalConsole", | |
"description": "Where to launch the debug target.", | |
"enum": [ | |
"internalConsole", | |
"integratedTerminal", | |
"externalTerminal" | |
], | |
"enumDescriptions": [ | |
"VS Code Debug Console (which doesn't support to read input from a program)", | |
"VS Code's integrated terminal", | |
"External terminal that can be configured via user settings" | |
], | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"killBehavior": { | |
"default": "forceful", | |
"enum": [ | |
"forceful", | |
"polite", | |
"none" | |
], | |
"markdownDescription": "Configures how debug process are killed when stopping the sesssion. Can be:\n\n- forceful (default): forcefully tears down the process tree. Sends SIGKILL on posix, or `taskkill.exe /F` on Windows.\n- polite: gracefully tears down the process tree. It's possible that misbehaving processes continue to run after shutdown in this way. Sends SIGTERM on posix, or `taskkill.exe` with no `/F` (force) flag on Windows.\n- none: no termination will happen.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"profileStartup": { | |
"default": true, | |
"description": "If true, will start profiling soon as the process launches", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"program": { | |
"default": "", | |
"description": "Absolute path to the program. Generated value is guessed by looking at package.json and opened files. Edit this attribute.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"restart": { | |
"default": true, | |
"description": "Try to reconnect to the program if we lose connection. If set to `true`, we'll try once a second, forever. You can customize the interval and maximum number of attempts by specifying the `delay` and `maxAttempts` in an object instead.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"delay": { | |
"default": 1000, | |
"minimum": 0, | |
"type": "number" | |
}, | |
"maxAttempts": { | |
"default": 10, | |
"minimum": 0, | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeArgs": { | |
"default": [], | |
"description": "Optional arguments passed to the runtime executable.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeExecutable": { | |
"default": "node", | |
"markdownDescription": "Runtime to use. Either an absolute path or the name of a runtime available on the PATH. If omitted `node` is assumed.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeVersion": { | |
"default": "default", | |
"markdownDescription": "Version of `node` runtime to use. Requires `nvm`.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"stopOnEntry": { | |
"default": true, | |
"description": "Automatically stop program after launch.", | |
"type": [ | |
"boolean", | |
"string" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"serverReadyAction": { | |
"oneOf": [ | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"openExternally" | |
], | |
"enumDescriptions": [ | |
"Open URI externally with the default application." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"debugWithChrome" | |
], | |
"enumDescriptions": [ | |
"Start debugging with the 'Debugger for Chrome'." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
}, | |
"webRoot": { | |
"type": "string", | |
"markdownDescription": "Value passed to the debug configuration for the 'Debugger for Chrome'.", | |
"default": "${workspaceFolder}" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "startDebugging", | |
"name": "<launch browser config name>" | |
}, | |
"required": [ | |
"name" | |
], | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"startDebugging" | |
], | |
"enumDescriptions": [ | |
"Run another launch configuration." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "startDebugging" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"name": { | |
"type": "string", | |
"markdownDescription": "Name of the launch configuration to run.", | |
"default": "Launch Browser" | |
} | |
} | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"type": { | |
"enum": [ | |
"pwa-node" | |
], | |
"description": "Type of configuration.", | |
"pattern": "^(?!node2)", | |
"errorMessage": "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled.", | |
"patternErrorMessage": "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"." | |
}, | |
"name": { | |
"type": "string", | |
"description": "Name of configuration; appears in the launch configuration dropdown menu.", | |
"default": "Launch" | |
}, | |
"request": { | |
"enum": [ | |
"launch" | |
], | |
"description": "Request type of configuration. Can be \"launch\" or \"attach\"." | |
}, | |
"debugServer": { | |
"type": "number", | |
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", | |
"default": 4711 | |
}, | |
"preLaunchTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run before debug session starts." | |
}, | |
"postDebugTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run after debug session ends." | |
}, | |
"presentation": { | |
"type": "object", | |
"description": "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette.", | |
"properties": { | |
"hidden": { | |
"type": "boolean", | |
"default": false, | |
"description": "Controls if this configuration should be shown in the configuration dropdown and the command palette." | |
}, | |
"group": { | |
"type": "string", | |
"default": "", | |
"description": "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette." | |
}, | |
"order": { | |
"type": "number", | |
"default": 1, | |
"description": "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette." | |
} | |
}, | |
"default": { | |
"hidden": false, | |
"group": "", | |
"order": 1 | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"internalConsoleOptions": { | |
"enum": [ | |
"neverOpen", | |
"openOnSessionStart", | |
"openOnFirstSessionStart" | |
], | |
"default": "openOnFirstSessionStart", | |
"description": "Controls when the internal debug console should open.", | |
"scope": 3, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
} | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
} | |
}, | |
"required": [ | |
"name", | |
"type", | |
"request", | |
"name", | |
"type", | |
"request", | |
"name", | |
"type", | |
"request", | |
"name", | |
"type", | |
"request", | |
"name", | |
"type", | |
"request" | |
], | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"command": { | |
"default": "npm start", | |
"description": "Command to run in the launched terminal. If not provided, the terminal will open without launching a program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"serverReadyAction": { | |
"oneOf": [ | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"openExternally" | |
], | |
"enumDescriptions": [ | |
"Open URI externally with the default application." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"debugWithChrome" | |
], | |
"enumDescriptions": [ | |
"Start debugging with the 'Debugger for Chrome'." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
}, | |
"webRoot": { | |
"type": "string", | |
"markdownDescription": "Value passed to the debug configuration for the 'Debugger for Chrome'.", | |
"default": "${workspaceFolder}" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "startDebugging", | |
"name": "<launch browser config name>" | |
}, | |
"required": [ | |
"name" | |
], | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"startDebugging" | |
], | |
"enumDescriptions": [ | |
"Run another launch configuration." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "startDebugging" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"name": { | |
"type": "string", | |
"markdownDescription": "Name of the launch configuration to run.", | |
"default": "Launch Browser" | |
} | |
} | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"type": { | |
"enum": [ | |
"node-terminal" | |
], | |
"description": "Type of configuration.", | |
"pattern": "^(?!node2)", | |
"errorMessage": "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled.", | |
"patternErrorMessage": "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"." | |
}, | |
"name": { | |
"type": "string", | |
"description": "Name of configuration; appears in the launch configuration dropdown menu.", | |
"default": "Launch", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"request": { | |
"enum": [ | |
"launch" | |
], | |
"description": "Request type of configuration. Can be \"launch\" or \"attach\".", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"debugServer": { | |
"type": "number", | |
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", | |
"default": 4711, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"preLaunchTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run before debug session starts.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"postDebugTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run after debug session ends.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"presentation": { | |
"type": "object", | |
"description": "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette.", | |
"properties": { | |
"hidden": { | |
"type": "boolean", | |
"default": false, | |
"description": "Controls if this configuration should be shown in the configuration dropdown and the command palette." | |
}, | |
"group": { | |
"type": "string", | |
"default": "", | |
"description": "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette." | |
}, | |
"order": { | |
"type": "number", | |
"default": 1, | |
"description": "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette." | |
} | |
}, | |
"default": { | |
"hidden": false, | |
"group": "", | |
"order": 1 | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"internalConsoleOptions": { | |
"enum": [ | |
"neverOpen", | |
"openOnSessionStart", | |
"openOnFirstSessionStart" | |
], | |
"default": "openOnFirstSessionStart", | |
"description": "Controls when the internal debug console should open.", | |
"scope": 3, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"windows": { | |
"type": "object", | |
"description": "Windows specific launch configuration attributes.", | |
"properties": { | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"command": { | |
"default": "npm start", | |
"description": "Command to run in the launched terminal. If not provided, the terminal will open without launching a program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"serverReadyAction": { | |
"oneOf": [ | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"openExternally" | |
], | |
"enumDescriptions": [ | |
"Open URI externally with the default application." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"debugWithChrome" | |
], | |
"enumDescriptions": [ | |
"Start debugging with the 'Debugger for Chrome'." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
}, | |
"webRoot": { | |
"type": "string", | |
"markdownDescription": "Value passed to the debug configuration for the 'Debugger for Chrome'.", | |
"default": "${workspaceFolder}" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "startDebugging", | |
"name": "<launch browser config name>" | |
}, | |
"required": [ | |
"name" | |
], | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"startDebugging" | |
], | |
"enumDescriptions": [ | |
"Run another launch configuration." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "startDebugging" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"name": { | |
"type": "string", | |
"markdownDescription": "Name of the launch configuration to run.", | |
"default": "Launch Browser" | |
} | |
} | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"type": { | |
"enum": [ | |
"node-terminal" | |
], | |
"description": "Type of configuration.", | |
"pattern": "^(?!node2)", | |
"errorMessage": "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled.", | |
"patternErrorMessage": "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"." | |
}, | |
"name": { | |
"type": "string", | |
"description": "Name of configuration; appears in the launch configuration dropdown menu.", | |
"default": "Launch" | |
}, | |
"request": { | |
"enum": [ | |
"launch" | |
], | |
"description": "Request type of configuration. Can be \"launch\" or \"attach\"." | |
}, | |
"debugServer": { | |
"type": "number", | |
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", | |
"default": 4711 | |
}, | |
"preLaunchTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run before debug session starts." | |
}, | |
"postDebugTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run after debug session ends." | |
}, | |
"presentation": { | |
"type": "object", | |
"description": "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette.", | |
"properties": { | |
"hidden": { | |
"type": "boolean", | |
"default": false, | |
"description": "Controls if this configuration should be shown in the configuration dropdown and the command palette." | |
}, | |
"group": { | |
"type": "string", | |
"default": "", | |
"description": "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette." | |
}, | |
"order": { | |
"type": "number", | |
"default": 1, | |
"description": "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette." | |
} | |
}, | |
"default": { | |
"hidden": false, | |
"group": "", | |
"order": 1 | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"internalConsoleOptions": { | |
"enum": [ | |
"neverOpen", | |
"openOnSessionStart", | |
"openOnFirstSessionStart" | |
], | |
"default": "openOnFirstSessionStart", | |
"description": "Controls when the internal debug console should open.", | |
"scope": 3, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
} | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"osx": { | |
"type": "object", | |
"description": "OS X specific launch configuration attributes.", | |
"properties": { | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"command": { | |
"default": "npm start", | |
"description": "Command to run in the launched terminal. If not provided, the terminal will open without launching a program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"serverReadyAction": { | |
"oneOf": [ | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"openExternally" | |
], | |
"enumDescriptions": [ | |
"Open URI externally with the default application." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"debugWithChrome" | |
], | |
"enumDescriptions": [ | |
"Start debugging with the 'Debugger for Chrome'." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
}, | |
"webRoot": { | |
"type": "string", | |
"markdownDescription": "Value passed to the debug configuration for the 'Debugger for Chrome'.", | |
"default": "${workspaceFolder}" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "startDebugging", | |
"name": "<launch browser config name>" | |
}, | |
"required": [ | |
"name" | |
], | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"startDebugging" | |
], | |
"enumDescriptions": [ | |
"Run another launch configuration." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "startDebugging" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"name": { | |
"type": "string", | |
"markdownDescription": "Name of the launch configuration to run.", | |
"default": "Launch Browser" | |
} | |
} | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"type": { | |
"enum": [ | |
"node-terminal" | |
], | |
"description": "Type of configuration.", | |
"pattern": "^(?!node2)", | |
"errorMessage": "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled.", | |
"patternErrorMessage": "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"." | |
}, | |
"name": { | |
"type": "string", | |
"description": "Name of configuration; appears in the launch configuration dropdown menu.", | |
"default": "Launch" | |
}, | |
"request": { | |
"enum": [ | |
"launch" | |
], | |
"description": "Request type of configuration. Can be \"launch\" or \"attach\"." | |
}, | |
"debugServer": { | |
"type": "number", | |
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", | |
"default": 4711 | |
}, | |
"preLaunchTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run before debug session starts." | |
}, | |
"postDebugTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run after debug session ends." | |
}, | |
"presentation": { | |
"type": "object", | |
"description": "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette.", | |
"properties": { | |
"hidden": { | |
"type": "boolean", | |
"default": false, | |
"description": "Controls if this configuration should be shown in the configuration dropdown and the command palette." | |
}, | |
"group": { | |
"type": "string", | |
"default": "", | |
"description": "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette." | |
}, | |
"order": { | |
"type": "number", | |
"default": 1, | |
"description": "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette." | |
} | |
}, | |
"default": { | |
"hidden": false, | |
"group": "", | |
"order": 1 | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"internalConsoleOptions": { | |
"enum": [ | |
"neverOpen", | |
"openOnSessionStart", | |
"openOnFirstSessionStart" | |
], | |
"default": "openOnFirstSessionStart", | |
"description": "Controls when the internal debug console should open.", | |
"scope": 3, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
} | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"linux": { | |
"type": "object", | |
"description": "Linux specific launch configuration attributes.", | |
"properties": { | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"command": { | |
"default": "npm start", | |
"description": "Command to run in the launched terminal. If not provided, the terminal will open without launching a program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"serverReadyAction": { | |
"oneOf": [ | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"openExternally" | |
], | |
"enumDescriptions": [ | |
"Open URI externally with the default application." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"debugWithChrome" | |
], | |
"enumDescriptions": [ | |
"Start debugging with the 'Debugger for Chrome'." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
}, | |
"webRoot": { | |
"type": "string", | |
"markdownDescription": "Value passed to the debug configuration for the 'Debugger for Chrome'.", | |
"default": "${workspaceFolder}" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "startDebugging", | |
"name": "<launch browser config name>" | |
}, | |
"required": [ | |
"name" | |
], | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"startDebugging" | |
], | |
"enumDescriptions": [ | |
"Run another launch configuration." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "startDebugging" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"name": { | |
"type": "string", | |
"markdownDescription": "Name of the launch configuration to run.", | |
"default": "Launch Browser" | |
} | |
} | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"type": { | |
"enum": [ | |
"node-terminal" | |
], | |
"description": "Type of configuration.", | |
"pattern": "^(?!node2)", | |
"errorMessage": "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled.", | |
"patternErrorMessage": "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"." | |
}, | |
"name": { | |
"type": "string", | |
"description": "Name of configuration; appears in the launch configuration dropdown menu.", | |
"default": "Launch" | |
}, | |
"request": { | |
"enum": [ | |
"launch" | |
], | |
"description": "Request type of configuration. Can be \"launch\" or \"attach\"." | |
}, | |
"debugServer": { | |
"type": "number", | |
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", | |
"default": 4711 | |
}, | |
"preLaunchTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run before debug session starts." | |
}, | |
"postDebugTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run after debug session ends." | |
}, | |
"presentation": { | |
"type": "object", | |
"description": "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette.", | |
"properties": { | |
"hidden": { | |
"type": "boolean", | |
"default": false, | |
"description": "Controls if this configuration should be shown in the configuration dropdown and the command palette." | |
}, | |
"group": { | |
"type": "string", | |
"default": "", | |
"description": "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette." | |
}, | |
"order": { | |
"type": "number", | |
"default": 1, | |
"description": "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette." | |
} | |
}, | |
"default": { | |
"hidden": false, | |
"group": "", | |
"order": 1 | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"internalConsoleOptions": { | |
"enum": [ | |
"neverOpen", | |
"openOnSessionStart", | |
"openOnFirstSessionStart" | |
], | |
"default": "openOnFirstSessionStart", | |
"description": "Controls when the internal debug console should open.", | |
"scope": 3, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
} | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
} | |
}, | |
"required": [ | |
"name", | |
"type", | |
"request", | |
"name", | |
"type", | |
"request", | |
"name", | |
"type", | |
"request", | |
"name", | |
"type", | |
"request", | |
"name", | |
"type", | |
"request" | |
], | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"args": { | |
"default": [ | |
"--extensionDevelopmentPath=${workspaceFolder}" | |
], | |
"description": "Command line arguments passed to the program.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"debugWebWorkerHost": { | |
"default": true, | |
"markdownDescription": "Configures whether we should try to attach to the web worker extension host.", | |
"type": [ | |
"boolean" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"debugWebviews": { | |
"default": true, | |
"markdownDescription": "Configures whether we should try to attach to webviews in the launched VS Code instance. **Note:** at the moment this requires the setting `\"webview.experimental.useIframes\": true` to work properly, and will only work in desktop VS Code.", | |
"type": [ | |
"boolean" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"rendererDebugOptions": { | |
"default": { | |
"webRoot": "${workspaceFolder}" | |
}, | |
"markdownDescription": "Chrome launch options used when attaching to the renderer process, with `debugWebviews` or `debugWebWorkerHost`.", | |
"properties": { | |
"address": { | |
"default": "localhost", | |
"description": "IP address or hostname the debugged browser is listening on.", | |
"type": "string" | |
}, | |
"browserAttachLocation": { | |
"default": null, | |
"description": "Forces the browser to attach in one location. In a remote workspace (through ssh or WSL, for example) this can be used to attach to a browser on the remote machine rather than locally.", | |
"oneOf": [ | |
{ | |
"type": "null" | |
}, | |
{ | |
"enum": [ | |
"ui", | |
"workspace" | |
], | |
"type": "string" | |
} | |
] | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array" | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string" | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string" | |
}, | |
"disableNetworkCache": { | |
"default": true, | |
"description": "Controls whether to skip the network cache for each request", | |
"type": "boolean" | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean" | |
}, | |
"inspectUri": { | |
"default": null, | |
"description": "Format to use to rewrite the inspectUri: It's a template string that interpolates keys in `{curlyBraces}`. Available keys are:\n - `url.*` is the parsed address of the running application. For instance, `{url.port}`, `{url.hostname}`\n - `port` is the debug port that Chrome is listening on.\n - `browserInspectUri` is the inspector URI on the launched browser\n - `browserInspectUriPath` is the path part of the inspector URI on the launched browser (e.g.: \"/devtools/browser/e9ec0098-306e-472a-8133-5e42488929c2\").\n - `wsProtocol` is the hinted websocket protocol. This is set to `wss` if the original URL is `https`, or `ws` otherwise.\n", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
] | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`." | |
}, | |
"pathMapping": { | |
"default": {}, | |
"description": "A mapping of URLs/paths to local folders, to resolve scripts in the Browser to scripts on disk", | |
"type": "object" | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean" | |
}, | |
"perScriptSourcemaps": { | |
"default": "auto", | |
"description": "Whether scripts are loaded individually with unique sourcemaps containing the basename of the source file. This can be set to optimize sourcemap handling when dealing with lots of small scripts. If set to \"auto\", we'll detect known cases where this is appropriate.", | |
"enum": [ | |
"yes", | |
"no", | |
"auto" | |
], | |
"type": "string" | |
}, | |
"port": { | |
"default": 9229, | |
"description": "Port to use to remote debugging the browser, given as `--remote-debugging-port` when launching the browser.", | |
"type": "number" | |
}, | |
"resolveSourceMapLocations": { | |
"default": null, | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
] | |
}, | |
"restart": { | |
"default": false, | |
"markdownDescription": "Whether to reconnect if the browser connection is closed", | |
"type": "boolean" | |
}, | |
"server": { | |
"oneOf": [ | |
{ | |
"additionalProperties": false, | |
"default": { | |
"program": "node my-server.js" | |
}, | |
"description": "Configures a web server to start up. Takes the same configuration as the 'node' launch task.", | |
"properties": { | |
"args": { | |
"default": [], | |
"description": "Command line arguments passed to the program.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"attachSimplePort": { | |
"default": 9229, | |
"description": "If set, attaches to the process via the given port. This is generally no longer necessary for Node.js programs and loses the ability to debug child processes, but can be useful in more esoteric scenarios such as with Deno and Docker launches. If set to 0, a random port will be chosen and --inspect-brk added to the launch arguments automatically.", | |
"type": "integer" | |
}, | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean" | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array" | |
}, | |
"console": { | |
"default": "internalConsole", | |
"description": "Where to launch the debug target.", | |
"enum": [ | |
"internalConsole", | |
"integratedTerminal", | |
"externalTerminal" | |
], | |
"enumDescriptions": [ | |
"VS Code Debug Console (which doesn't support to read input from a program)", | |
"VS Code's integrated terminal", | |
"External terminal that can be configured via user settings" | |
], | |
"type": "string" | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string" | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string" | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string" | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean" | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object" | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string" | |
}, | |
"killBehavior": { | |
"default": "forceful", | |
"enum": [ | |
"forceful", | |
"polite", | |
"none" | |
], | |
"markdownDescription": "Configures how debug process are killed when stopping the sesssion. Can be:\n\n- forceful (default): forcefully tears down the process tree. Sends SIGKILL on posix, or `taskkill.exe /F` on Windows.\n- polite: gracefully tears down the process tree. It's possible that misbehaving processes continue to run after shutdown in this way. Sends SIGTERM on posix, or `taskkill.exe` with no `/F` (force) flag on Windows.\n- none: no termination will happen.", | |
"type": "string" | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number" | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
] | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean" | |
}, | |
"profileStartup": { | |
"default": true, | |
"description": "If true, will start profiling soon as the process launches", | |
"type": "boolean" | |
}, | |
"program": { | |
"default": "", | |
"description": "Absolute path to the program. Generated value is guessed by looking at package.json and opened files. Edit this attribute.", | |
"type": "string" | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
] | |
}, | |
"restart": { | |
"default": true, | |
"description": "Try to reconnect to the program if we lose connection. If set to `true`, we'll try once a second, forever. You can customize the interval and maximum number of attempts by specifying the `delay` and `maxAttempts` in an object instead.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"delay": { | |
"default": 1000, | |
"minimum": 0, | |
"type": "number" | |
}, | |
"maxAttempts": { | |
"default": 10, | |
"minimum": 0, | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
} | |
] | |
}, | |
"runtimeArgs": { | |
"default": [], | |
"description": "Optional arguments passed to the runtime executable.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"runtimeExecutable": { | |
"default": "node", | |
"markdownDescription": "Runtime to use. Either an absolute path or the name of a runtime available on the PATH. If omitted `node` is assumed.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array" | |
}, | |
"runtimeVersion": { | |
"default": "default", | |
"markdownDescription": "Version of `node` runtime to use. Requires `nvm`.", | |
"type": "string" | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
] | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array" | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean" | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object" | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean" | |
}, | |
"stopOnEntry": { | |
"default": true, | |
"description": "Automatically stop program after launch.", | |
"type": [ | |
"boolean", | |
"string" | |
] | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number" | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
] | |
} | |
}, | |
"type": "object" | |
}, | |
{ | |
"additionalProperties": false, | |
"default": { | |
"program": "npm start" | |
}, | |
"description": "Create JavaScript Debug Terminal", | |
"properties": { | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean" | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array" | |
}, | |
"command": { | |
"default": "npm start", | |
"description": "Command to run in the launched terminal. If not provided, the terminal will open without launching a program.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string" | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string" | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"docDefault": "localRoot || ${workspaceFolder}", | |
"type": "string" | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean" | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object" | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string" | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number" | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
] | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean" | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
] | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array" | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
] | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array" | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean" | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object" | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean" | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number" | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
] | |
} | |
}, | |
"type": "object" | |
} | |
] | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
] | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array" | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean" | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object" | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean" | |
}, | |
"targetSelection": { | |
"default": "automatic", | |
"enum": [ | |
"pick", | |
"automatic" | |
], | |
"markdownDescription": "Whether to attach to all targets that match the URL filter (\"automatic\") or ask to pick one (\"pick\").", | |
"type": "string" | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number" | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
] | |
}, | |
"url": { | |
"default": "http://localhost:8080", | |
"description": "Will search for a tab with this exact url and attach to it, if found", | |
"type": "string" | |
}, | |
"urlFilter": { | |
"default": "", | |
"description": "Will search for a page with this url and attach to it, if found. Can have * wildcards.", | |
"type": "string" | |
}, | |
"vueComponentPaths": { | |
"default": [ | |
"${workspaceFolder}/**/*.vue" | |
], | |
"description": "A list of file glob patterns to find `*.vue` components. By default, searches the entire workspace. This needs to be specified due to extra lookups that Vue's sourcemaps require in Vue CLI 4. You can disable this special handling by setting this to an empty array.", | |
"type": "array" | |
}, | |
"webRoot": { | |
"default": "${workspaceFolder}", | |
"description": "This specifies the workspace absolute path to the webserver root. Used to resolve paths like `/app.js` to files on disk. Shorthand for a pathMapping for \"/\"", | |
"type": "string" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeExecutable": { | |
"default": "node", | |
"markdownDescription": "Absolute path to VS Code.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"serverReadyAction": { | |
"oneOf": [ | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"openExternally" | |
], | |
"enumDescriptions": [ | |
"Open URI externally with the default application." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"debugWithChrome" | |
], | |
"enumDescriptions": [ | |
"Start debugging with the 'Debugger for Chrome'." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
}, | |
"webRoot": { | |
"type": "string", | |
"markdownDescription": "Value passed to the debug configuration for the 'Debugger for Chrome'.", | |
"default": "${workspaceFolder}" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "startDebugging", | |
"name": "<launch browser config name>" | |
}, | |
"required": [ | |
"name" | |
], | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"startDebugging" | |
], | |
"enumDescriptions": [ | |
"Run another launch configuration." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "startDebugging" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"name": { | |
"type": "string", | |
"markdownDescription": "Name of the launch configuration to run.", | |
"default": "Launch Browser" | |
} | |
} | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"type": { | |
"enum": [ | |
"pwa-extensionHost" | |
], | |
"description": "Type of configuration.", | |
"pattern": "^(?!node2)", | |
"errorMessage": "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled.", | |
"patternErrorMessage": "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"." | |
}, | |
"name": { | |
"type": "string", | |
"description": "Name of configuration; appears in the launch configuration dropdown menu.", | |
"default": "Launch", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"request": { | |
"enum": [ | |
"launch" | |
], | |
"description": "Request type of configuration. Can be \"launch\" or \"attach\".", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"debugServer": { | |
"type": "number", | |
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", | |
"default": 4711, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"preLaunchTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run before debug session starts.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"postDebugTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run after debug session ends.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"presentation": { | |
"type": "object", | |
"description": "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette.", | |
"properties": { | |
"hidden": { | |
"type": "boolean", | |
"default": false, | |
"description": "Controls if this configuration should be shown in the configuration dropdown and the command palette." | |
}, | |
"group": { | |
"type": "string", | |
"default": "", | |
"description": "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette." | |
}, | |
"order": { | |
"type": "number", | |
"default": 1, | |
"description": "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette." | |
} | |
}, | |
"default": { | |
"hidden": false, | |
"group": "", | |
"order": 1 | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"internalConsoleOptions": { | |
"enum": [ | |
"neverOpen", | |
"openOnSessionStart", | |
"openOnFirstSessionStart" | |
], | |
"default": "openOnFirstSessionStart", | |
"description": "Controls when the internal debug console should open.", | |
"scope": 3, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"windows": { | |
"type": "object", | |
"description": "Windows specific launch configuration attributes.", | |
"properties": { | |
"args": { | |
"default": [ | |
"--extensionDevelopmentPath=${workspaceFolder}" | |
], | |
"description": "Command line arguments passed to the program.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"debugWebWorkerHost": { | |
"default": true, | |
"markdownDescription": "Configures whether we should try to attach to the web worker extension host.", | |
"type": [ | |
"boolean" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"debugWebviews": { | |
"default": true, | |
"markdownDescription": "Configures whether we should try to attach to webviews in the launched VS Code instance. **Note:** at the moment this requires the setting `\"webview.experimental.useIframes\": true` to work properly, and will only work in desktop VS Code.", | |
"type": [ | |
"boolean" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"rendererDebugOptions": { | |
"default": { | |
"webRoot": "${workspaceFolder}" | |
}, | |
"markdownDescription": "Chrome launch options used when attaching to the renderer process, with `debugWebviews` or `debugWebWorkerHost`.", | |
"properties": { | |
"address": { | |
"default": "localhost", | |
"description": "IP address or hostname the debugged browser is listening on.", | |
"type": "string" | |
}, | |
"browserAttachLocation": { | |
"default": null, | |
"description": "Forces the browser to attach in one location. In a remote workspace (through ssh or WSL, for example) this can be used to attach to a browser on the remote machine rather than locally.", | |
"oneOf": [ | |
{ | |
"type": "null" | |
}, | |
{ | |
"enum": [ | |
"ui", | |
"workspace" | |
], | |
"type": "string" | |
} | |
] | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array" | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string" | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string" | |
}, | |
"disableNetworkCache": { | |
"default": true, | |
"description": "Controls whether to skip the network cache for each request", | |
"type": "boolean" | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean" | |
}, | |
"inspectUri": { | |
"default": null, | |
"description": "Format to use to rewrite the inspectUri: It's a template string that interpolates keys in `{curlyBraces}`. Available keys are:\n - `url.*` is the parsed address of the running application. For instance, `{url.port}`, `{url.hostname}`\n - `port` is the debug port that Chrome is listening on.\n - `browserInspectUri` is the inspector URI on the launched browser\n - `browserInspectUriPath` is the path part of the inspector URI on the launched browser (e.g.: \"/devtools/browser/e9ec0098-306e-472a-8133-5e42488929c2\").\n - `wsProtocol` is the hinted websocket protocol. This is set to `wss` if the original URL is `https`, or `ws` otherwise.\n", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
] | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`." | |
}, | |
"pathMapping": { | |
"default": {}, | |
"description": "A mapping of URLs/paths to local folders, to resolve scripts in the Browser to scripts on disk", | |
"type": "object" | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean" | |
}, | |
"perScriptSourcemaps": { | |
"default": "auto", | |
"description": "Whether scripts are loaded individually with unique sourcemaps containing the basename of the source file. This can be set to optimize sourcemap handling when dealing with lots of small scripts. If set to \"auto\", we'll detect known cases where this is appropriate.", | |
"enum": [ | |
"yes", | |
"no", | |
"auto" | |
], | |
"type": "string" | |
}, | |
"port": { | |
"default": 9229, | |
"description": "Port to use to remote debugging the browser, given as `--remote-debugging-port` when launching the browser.", | |
"type": "number" | |
}, | |
"resolveSourceMapLocations": { | |
"default": null, | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
] | |
}, | |
"restart": { | |
"default": false, | |
"markdownDescription": "Whether to reconnect if the browser connection is closed", | |
"type": "boolean" | |
}, | |
"server": { | |
"oneOf": [ | |
{ | |
"additionalProperties": false, | |
"default": { | |
"program": "node my-server.js" | |
}, | |
"description": "Configures a web server to start up. Takes the same configuration as the 'node' launch task.", | |
"properties": { | |
"args": { | |
"default": [], | |
"description": "Command line arguments passed to the program.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"attachSimplePort": { | |
"default": 9229, | |
"description": "If set, attaches to the process via the given port. This is generally no longer necessary for Node.js programs and loses the ability to debug child processes, but can be useful in more esoteric scenarios such as with Deno and Docker launches. If set to 0, a random port will be chosen and --inspect-brk added to the launch arguments automatically.", | |
"type": "integer" | |
}, | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean" | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array" | |
}, | |
"console": { | |
"default": "internalConsole", | |
"description": "Where to launch the debug target.", | |
"enum": [ | |
"internalConsole", | |
"integratedTerminal", | |
"externalTerminal" | |
], | |
"enumDescriptions": [ | |
"VS Code Debug Console (which doesn't support to read input from a program)", | |
"VS Code's integrated terminal", | |
"External terminal that can be configured via user settings" | |
], | |
"type": "string" | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string" | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string" | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string" | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean" | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object" | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string" | |
}, | |
"killBehavior": { | |
"default": "forceful", | |
"enum": [ | |
"forceful", | |
"polite", | |
"none" | |
], | |
"markdownDescription": "Configures how debug process are killed when stopping the sesssion. Can be:\n\n- forceful (default): forcefully tears down the process tree. Sends SIGKILL on posix, or `taskkill.exe /F` on Windows.\n- polite: gracefully tears down the process tree. It's possible that misbehaving processes continue to run after shutdown in this way. Sends SIGTERM on posix, or `taskkill.exe` with no `/F` (force) flag on Windows.\n- none: no termination will happen.", | |
"type": "string" | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number" | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
] | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean" | |
}, | |
"profileStartup": { | |
"default": true, | |
"description": "If true, will start profiling soon as the process launches", | |
"type": "boolean" | |
}, | |
"program": { | |
"default": "", | |
"description": "Absolute path to the program. Generated value is guessed by looking at package.json and opened files. Edit this attribute.", | |
"type": "string" | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
] | |
}, | |
"restart": { | |
"default": true, | |
"description": "Try to reconnect to the program if we lose connection. If set to `true`, we'll try once a second, forever. You can customize the interval and maximum number of attempts by specifying the `delay` and `maxAttempts` in an object instead.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"delay": { | |
"default": 1000, | |
"minimum": 0, | |
"type": "number" | |
}, | |
"maxAttempts": { | |
"default": 10, | |
"minimum": 0, | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
} | |
] | |
}, | |
"runtimeArgs": { | |
"default": [], | |
"description": "Optional arguments passed to the runtime executable.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"runtimeExecutable": { | |
"default": "node", | |
"markdownDescription": "Runtime to use. Either an absolute path or the name of a runtime available on the PATH. If omitted `node` is assumed.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array" | |
}, | |
"runtimeVersion": { | |
"default": "default", | |
"markdownDescription": "Version of `node` runtime to use. Requires `nvm`.", | |
"type": "string" | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
] | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array" | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean" | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object" | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean" | |
}, | |
"stopOnEntry": { | |
"default": true, | |
"description": "Automatically stop program after launch.", | |
"type": [ | |
"boolean", | |
"string" | |
] | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number" | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
] | |
} | |
}, | |
"type": "object" | |
}, | |
{ | |
"additionalProperties": false, | |
"default": { | |
"program": "npm start" | |
}, | |
"description": "Create JavaScript Debug Terminal", | |
"properties": { | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean" | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array" | |
}, | |
"command": { | |
"default": "npm start", | |
"description": "Command to run in the launched terminal. If not provided, the terminal will open without launching a program.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string" | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string" | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"docDefault": "localRoot || ${workspaceFolder}", | |
"type": "string" | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean" | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object" | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string" | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number" | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
] | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean" | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
] | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array" | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
] | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array" | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean" | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object" | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean" | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number" | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
] | |
} | |
}, | |
"type": "object" | |
} | |
] | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
] | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array" | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean" | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object" | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean" | |
}, | |
"targetSelection": { | |
"default": "automatic", | |
"enum": [ | |
"pick", | |
"automatic" | |
], | |
"markdownDescription": "Whether to attach to all targets that match the URL filter (\"automatic\") or ask to pick one (\"pick\").", | |
"type": "string" | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number" | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object" | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
] | |
}, | |
"url": { | |
"default": "http://localhost:8080", | |
"description": "Will search for a tab with this exact url and attach to it, if found", | |
"type": "string" | |
}, | |
"urlFilter": { | |
"default": "", | |
"description": "Will search for a page with this url and attach to it, if found. Can have * wildcards.", | |
"type": "string" | |
}, | |
"vueComponentPaths": { | |
"default": [ | |
"${workspaceFolder}/**/*.vue" | |
], | |
"description": "A list of file glob patterns to find `*.vue` components. By default, searches the entire workspace. This needs to be specified due to extra lookups that Vue's sourcemaps require in Vue CLI 4. You can disable this special handling by setting this to an empty array.", | |
"type": "array" | |
}, | |
"webRoot": { | |
"default": "${workspaceFolder}", | |
"description": "This specifies the workspace absolute path to the webserver root. Used to resolve paths like `/app.js` to files on disk. Shorthand for a pathMapping for \"/\"", | |
"type": "string" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeExecutable": { | |
"default": "node", | |
"markdownDescription": "Absolute path to VS Code.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"runtimeSourcemapPausePatterns": { | |
"default": [], | |
"items": { | |
"type": "string" | |
}, | |
"markdownDescription": "A list of patterns at which to manually insert entrypoint breakpoints. This can be useful to give the debugger an opportunity to set breakpoints when using sourcemaps that don't exist or can't be detected before launch, such as [with the Serverless framework](https://github.com/microsoft/vscode-js-debug/issues/492).", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"showAsyncStacks": { | |
"default": true, | |
"description": "Show the async calls that led to the current call stack.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"onAttach": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onAttach" | |
], | |
"type": "object" | |
}, | |
{ | |
"properties": { | |
"onceBreakpointResolved": { | |
"default": 32, | |
"type": "number" | |
} | |
}, | |
"required": [ | |
"onceBreakpointResolved" | |
], | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"skipFiles": { | |
"default": [ | |
"<node_internals>/**" | |
], | |
"description": "An array of file or folder names, or path globs, to skip when debugging.", | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"smartStep": { | |
"default": true, | |
"description": "Automatically step through generated code that cannot be mapped back to the original source.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMapPathOverrides": { | |
"default": { | |
"meteor://💻app/*": "${workspaceFolder}/*", | |
"webpack:///./~/*": "${workspaceFolder}/node_modules/*", | |
"webpack://?:*/*": "${workspaceFolder}/*" | |
}, | |
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"sourceMaps": { | |
"default": true, | |
"description": "Use JavaScript source maps (if they exist).", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeout": { | |
"default": 10000, | |
"description": "Retry for this number of milliseconds to connect to Node.js. Default is 10000 ms.", | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"timeouts": { | |
"additionalProperties": false, | |
"default": {}, | |
"description": "Timeouts for several debugger operations", | |
"markdownDescription": "Timeouts for several debugger operations", | |
"properties": { | |
"sourceMapCumulativePause": { | |
"default": 1000, | |
"description": "Extra time in milliseconds allowed per session to be spent waiting for source-maps to be processed, after the minimum time (sourceMapMinPause) has been exhausted", | |
"type": "number" | |
}, | |
"sourceMapMinPause": { | |
"default": 1000, | |
"description": "Minimum time in milliseconds spent waiting for each source-map to be processed when a script is being parsed", | |
"type": "number" | |
} | |
}, | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"trace": { | |
"default": true, | |
"description": "Configures what diagnostic output is produced.", | |
"oneOf": [ | |
{ | |
"description": "Trace may be set to 'true' to write diagnostic logs to the disk.", | |
"type": "boolean" | |
}, | |
{ | |
"additionalProperties": false, | |
"properties": { | |
"console": { | |
"description": "Whether to return trace data from the launched application or browser.", | |
"type": "boolean" | |
}, | |
"level": { | |
"description": "Configures the level of logs recorded.", | |
"enum": [ | |
"fatal", | |
"error", | |
"warn", | |
"info", | |
"verbose" | |
] | |
}, | |
"logFile": { | |
"description": "Configures where on disk logs are written.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"stdio": { | |
"description": "Configures whether logs are also returned to the debug console.", | |
"type": "boolean" | |
}, | |
"tags": { | |
"description": "Configures what types of logs are recorded.", | |
"items": { | |
"enum": [ | |
"cdp", | |
"dap", | |
"runtime" | |
] | |
}, | |
"type": "array" | |
} | |
}, | |
"type": "object" | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"serverReadyAction": { | |
"oneOf": [ | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"openExternally" | |
], | |
"enumDescriptions": [ | |
"Open URI externally with the default application." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "openExternally" | |
}, | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"debugWithChrome" | |
], | |
"enumDescriptions": [ | |
"Start debugging with the 'Debugger for Chrome'." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "openExternally" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"uriFormat": { | |
"type": "string", | |
"markdownDescription": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.", | |
"default": "http://localhost:%s" | |
}, | |
"webRoot": { | |
"type": "string", | |
"markdownDescription": "Value passed to the debug configuration for the 'Debugger for Chrome'.", | |
"default": "${workspaceFolder}" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"additionalProperties": false, | |
"markdownDescription": "Act upon a URI when a server program under debugging is ready (indicated by sending output of the form 'listening on port 3000' or 'Now listening on: https://localhost:5001' to the debug console.)", | |
"default": { | |
"action": "startDebugging", | |
"name": "<launch browser config name>" | |
}, | |
"required": [ | |
"name" | |
], | |
"properties": { | |
"action": { | |
"type": "string", | |
"enum": [ | |
"startDebugging" | |
], | |
"enumDescriptions": [ | |
"Run another launch configuration." | |
], | |
"markdownDescription": "What to do with the URI when the server is ready.", | |
"default": "startDebugging" | |
}, | |
"pattern": { | |
"type": "string", | |
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.", | |
"default": "listening on port ([0-9]+)" | |
}, | |
"name": { | |
"type": "string", | |
"markdownDescription": "Name of the launch configuration to run.", | |
"default": "Launch Browser" | |
} | |
} | |
} | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"type": { | |
"enum": [ | |
"pwa-extensionHost" | |
], | |
"description": "Type of configuration.", | |
"pattern": "^(?!node2)", | |
"errorMessage": "The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled.", | |
"patternErrorMessage": "\"node2\" is no longer supported, use \"node\" instead and set the \"protocol\" attribute to \"inspector\"." | |
}, | |
"name": { | |
"type": "string", | |
"description": "Name of configuration; appears in the launch configuration dropdown menu.", | |
"default": "Launch" | |
}, | |
"request": { | |
"enum": [ | |
"launch" | |
], | |
"description": "Request type of configuration. Can be \"launch\" or \"attach\"." | |
}, | |
"debugServer": { | |
"type": "number", | |
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode", | |
"default": 4711 | |
}, | |
"preLaunchTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run before debug session starts." | |
}, | |
"postDebugTask": { | |
"anyOf": [ | |
{ | |
"oneOf": [] | |
}, | |
{ | |
"type": [ | |
"string" | |
] | |
} | |
], | |
"default": "", | |
"defaultSnippets": [ | |
{ | |
"body": { | |
"task": "", | |
"type": "" | |
} | |
} | |
], | |
"description": "Task to run after debug session ends." | |
}, | |
"presentation": { | |
"type": "object", | |
"description": "Presentation options on how to show this configuration in the debug configuration dropdown and the command palette.", | |
"properties": { | |
"hidden": { | |
"type": "boolean", | |
"default": false, | |
"description": "Controls if this configuration should be shown in the configuration dropdown and the command palette." | |
}, | |
"group": { | |
"type": "string", | |
"default": "", | |
"description": "Group that this configuration belongs to. Used for grouping and sorting in the configuration dropdown and the command palette." | |
}, | |
"order": { | |
"type": "number", | |
"default": 1, | |
"description": "Order of this configuration within a group. Used for grouping and sorting in the configuration dropdown and the command palette." | |
} | |
}, | |
"default": { | |
"hidden": false, | |
"group": "", | |
"order": 1 | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"internalConsoleOptions": { | |
"enum": [ | |
"neverOpen", | |
"openOnSessionStart", | |
"openOnFirstSessionStart" | |
], | |
"default": "openOnFirstSessionStart", | |
"description": "Controls when the internal debug console should open.", | |
"scope": 3, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
} | |
}, | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"osx": { | |
"type": "object", | |
"description": "OS X specific launch configuration attributes.", | |
"properties": { | |
"args": { | |
"default": [ | |
"--extensionDevelopmentPath=${workspaceFolder}" | |
], | |
"description": "Command line arguments passed to the program.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"debugWebWorkerHost": { | |
"default": true, | |
"markdownDescription": "Configures whether we should try to attach to the web worker extension host.", | |
"type": [ | |
"boolean" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"debugWebviews": { | |
"default": true, | |
"markdownDescription": "Configures whether we should try to attach to webviews in the launched VS Code instance. **Note:** at the moment this requires the setting `\"webview.experimental.useIframes\": true` to work properly, and will only work in desktop VS Code.", | |
"type": [ | |
"boolean" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean", | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
], | |
"pattern": "^(?!.*\\$\\{(env|config|command)\\.)", | |
"patternErrorMessage": "'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead." | |
}, | |
"rendererDebugOptions": { | |
"default": { | |
"webRoot": "${workspaceFolder}" | |
}, | |
"markdownDescription": "Chrome launch options used when attaching to the renderer process, with `debugWebviews` or `debugWebWorkerHost`.", | |
"properties": { | |
"address": { | |
"default": "localhost", | |
"description": "IP address or hostname the debugged browser is listening on.", | |
"type": "string" | |
}, | |
"browserAttachLocation": { | |
"default": null, | |
"description": "Forces the browser to attach in one location. In a remote workspace (through ssh or WSL, for example) this can be used to attach to a browser on the remote machine rather than locally.", | |
"oneOf": [ | |
{ | |
"type": "null" | |
}, | |
{ | |
"enum": [ | |
"ui", | |
"workspace" | |
], | |
"type": "string" | |
} | |
] | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array" | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string" | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string" | |
}, | |
"disableNetworkCache": { | |
"default": true, | |
"description": "Controls whether to skip the network cache for each request", | |
"type": "boolean" | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean" | |
}, | |
"inspectUri": { | |
"default": null, | |
"description": "Format to use to rewrite the inspectUri: It's a template string that interpolates keys in `{curlyBraces}`. Available keys are:\n - `url.*` is the parsed address of the running application. For instance, `{url.port}`, `{url.hostname}`\n - `port` is the debug port that Chrome is listening on.\n - `browserInspectUri` is the inspector URI on the launched browser\n - `browserInspectUriPath` is the path part of the inspector URI on the launched browser (e.g.: \"/devtools/browser/e9ec0098-306e-472a-8133-5e42488929c2\").\n - `wsProtocol` is the hinted websocket protocol. This is set to `wss` if the original URL is `https`, or `ws` otherwise.\n", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
] | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`." | |
}, | |
"pathMapping": { | |
"default": {}, | |
"description": "A mapping of URLs/paths to local folders, to resolve scripts in the Browser to scripts on disk", | |
"type": "object" | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean" | |
}, | |
"perScriptSourcemaps": { | |
"default": "auto", | |
"description": "Whether scripts are loaded individually with unique sourcemaps containing the basename of the source file. This can be set to optimize sourcemap handling when dealing with lots of small scripts. If set to \"auto\", we'll detect known cases where this is appropriate.", | |
"enum": [ | |
"yes", | |
"no", | |
"auto" | |
], | |
"type": "string" | |
}, | |
"port": { | |
"default": 9229, | |
"description": "Port to use to remote debugging the browser, given as `--remote-debugging-port` when launching the browser.", | |
"type": "number" | |
}, | |
"resolveSourceMapLocations": { | |
"default": null, | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
] | |
}, | |
"restart": { | |
"default": false, | |
"markdownDescription": "Whether to reconnect if the browser connection is closed", | |
"type": "boolean" | |
}, | |
"server": { | |
"oneOf": [ | |
{ | |
"additionalProperties": false, | |
"default": { | |
"program": "node my-server.js" | |
}, | |
"description": "Configures a web server to start up. Takes the same configuration as the 'node' launch task.", | |
"properties": { | |
"args": { | |
"default": [], | |
"description": "Command line arguments passed to the program.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"attachSimplePort": { | |
"default": 9229, | |
"description": "If set, attaches to the process via the given port. This is generally no longer necessary for Node.js programs and loses the ability to debug child processes, but can be useful in more esoteric scenarios such as with Deno and Docker launches. If set to 0, a random port will be chosen and --inspect-brk added to the launch arguments automatically.", | |
"type": "integer" | |
}, | |
"autoAttachChildProcesses": { | |
"default": true, | |
"description": "Attach debugger to new child processes automatically.", | |
"type": "boolean" | |
}, | |
"cascadeTerminateToConfigurations": { | |
"default": [], | |
"description": "A list of debug sessions which, when this debug session is terminated, will also be stopped.", | |
"items": { | |
"type": "string", | |
"uniqueItems": true | |
}, | |
"type": "array" | |
}, | |
"console": { | |
"default": "internalConsole", | |
"description": "Where to launch the debug target.", | |
"enum": [ | |
"internalConsole", | |
"integratedTerminal", | |
"externalTerminal" | |
], | |
"enumDescriptions": [ | |
"VS Code Debug Console (which doesn't support to read input from a program)", | |
"VS Code's integrated terminal", | |
"External terminal that can be configured via user settings" | |
], | |
"type": "string" | |
}, | |
"customDescriptionGenerator": { | |
"description": "Customize the textual description the debugger shows for objects (local variables, etc...). Samples:\n 1. this.toString() // will call toString to print all objects\n 2. this.customDescription ? this.customDescription() : defaultValue // Use customDescription method if available, if not return defaultValue\n 3. function (def) { return this.customDescription ? this.customDescription() : def } // Use customDescription method if available, if not return defaultValue\n ", | |
"type": "string" | |
}, | |
"customPropertiesGenerator": { | |
"deprecated": true, | |
"description": "Customize the properties shown for an object in the debugger (local variables, etc...). Samples:\n 1. { ...this, extraProperty: '12345' } // Add an extraProperty 12345 to all objects\n 2. this.customProperties ? this.customProperties() : this // Use customProperties method if available, if not use the properties in this (the default properties)\n 3. function () { return this.customProperties ? this.customProperties() : this } // Use customDescription method if available, if not return the default properties\n\n Deprecated: This is a temporary implementation of this feature until we have time to implement it in the way described here: https://github.com/microsoft/vscode/issues/102181", | |
"type": "string" | |
}, | |
"cwd": { | |
"default": "${workspaceFolder}", | |
"description": "Absolute path to the working directory of the program being debugged. If you've set localRoot then cwd will match that value otherwise it falls back to your workspaceFolder", | |
"type": "string" | |
}, | |
"enableContentValidation": { | |
"default": true, | |
"description": "Toggles whether we verify the contents of files on disk match the ones loaded in the runtime. This is useful in a variety of scenarios and required in some, but can cause issues if you have server-side transformation of scripts, for example.", | |
"type": "boolean" | |
}, | |
"env": { | |
"additionalProperties": { | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"default": {}, | |
"markdownDescription": "Environment variables passed to the program. The value `null` removes the variable from the environment.", | |
"type": "object" | |
}, | |
"envFile": { | |
"default": "${workspaceFolder}/.env", | |
"description": "Absolute path to a file containing environment variable definitions.", | |
"type": "string" | |
}, | |
"killBehavior": { | |
"default": "forceful", | |
"enum": [ | |
"forceful", | |
"polite", | |
"none" | |
], | |
"markdownDescription": "Configures how debug process are killed when stopping the sesssion. Can be:\n\n- forceful (default): forcefully tears down the process tree. Sends SIGKILL on posix, or `taskkill.exe /F` on Windows.\n- polite: gracefully tears down the process tree. It's possible that misbehaving processes continue to run after shutdown in this way. Sends SIGTERM on posix, or `taskkill.exe` with no `/F` (force) flag on Windows.\n- none: no termination will happen.", | |
"type": "string" | |
}, | |
"localRoot": { | |
"default": null, | |
"description": "Path to the local directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"nodeVersionHint": { | |
"default": 12, | |
"description": "Allows you to explicitly specify the Node version that's running, which can be used to disable or enable certain behaviors in cases where the automatic version detection does not working.", | |
"minimum": 8, | |
"type": "number" | |
}, | |
"outFiles": { | |
"default": [ | |
"${workspaceFolder}/**/*.js", | |
"!**/node_modules/**" | |
], | |
"description": "If source maps are enabled, these glob patterns specify the generated JavaScript files. If a pattern starts with `!` the files are excluded. If not specified, the generated code is expected in the same directory as its source.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array" | |
] | |
}, | |
"outputCapture": { | |
"default": "console", | |
"enum": [ | |
"console", | |
"std" | |
], | |
"markdownDescription": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`." | |
}, | |
"pauseForSourceMap": { | |
"default": false, | |
"markdownDescription": "Whether to wait for source maps to load for each incoming script. This has a performance overhead, and might be safely disabled when running off of disk, so long as `rootPath` is not disabled.", | |
"type": "boolean" | |
}, | |
"profileStartup": { | |
"default": true, | |
"description": "If true, will start profiling soon as the process launches", | |
"type": "boolean" | |
}, | |
"program": { | |
"default": "", | |
"description": "Absolute path to the program. Generated value is guessed by looking at package.json and opened files. Edit this attribute.", | |
"type": "string" | |
}, | |
"remoteRoot": { | |
"default": null, | |
"description": "Absolute path to the remote directory containing the program.", | |
"type": [ | |
"string", | |
"null" | |
] | |
}, | |
"resolveSourceMapLocations": { | |
"default": [ | |
"${workspaceFolder}/**", | |
"!**/node_modules/**" | |
], | |
"description": "A list of minimatch patterns for locations (folders and URLs) in which source maps can be used to resolve local files. This can be used to avoid incorrectly breaking in external source mapped code. Patterns can be prefixed with \"!\" to exclude them. May be set to an empty array or null to avoid restriction.", | |
"items": { | |
"type": "string" | |
}, | |
"type": [ | |
"array", | |
"null" | |
] | |
}, | |
"restart": { | |
"default": true, | |
"description": "Try to reconnect to the program if we lose connection. If set to `true`, we'll try once a second, forever. You can customize the interval and maximum number of attempts by specifying the `delay` and `maxAttempts` in an object instead.", | |
"oneOf": [ | |
{ | |
"type": "boolean" | |
}, | |
{ | |
"properties": { | |
"delay": { | |
"default": 1000, | |
"minimum": 0, | |
"type": "number" | |
}, | |
"maxAttempts": { | |
"default": 10, | |
"minimum": 0, | |
"type": "number" | |
} | |
}, | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment