"description": "Name of the module to be debugged.",
"default": ""
},
"program": {
"type": "string",
"description": "Absolute path to the program.",
"default": "${file}"
},
"pythonPath": {
"type": "string",
"description": "Path (fully qualified) to python executable. Defaults to the value in settings.json",
"default": "${config.python.pythonPath}"
},
"args": {
"type": "array",
"description": "Command line arguments passed to the program",
"default": [],
"items": {
"type": "string"
}
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
},
"externalConsole": {
"type": "boolean",
"description": "Deprecated: use 'console' attribute instead.",
"default": false
},
"console": {
"enum": [
"none",
"integratedTerminal",
"externalTerminal"
],
"description": "Where to launch the debug target: internal console, integrated terminal, or external terminal.",
"default": "none"
},
"cwd": {
"type": "string",
"description": "Absolute path to the working directory of the program being debugged. Default is the root directory of the file (leave null).",
"default": null
},
"debugOptions": {
"type": "array",
"description": "Advanced options, view read me for further details.",
"items": {
"type": "string",
"enum": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput",
"DebugStdLib",
"BreakOnSystemExitZero",
"DjangoDebugging",
"Sudo",
"IgnoreDjangoTemplateWarnings",
"Pyramid"
]
},
"default": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput"
]
},
"exceptionHandling": {
"description": "List of exception types and how they are handled during debugging (ignore, always break or break only if unhandled).",
"properties": {
"ignore": {
"type": "array",
"description": "Never break into these exceptions, e.g. 'copy.Error'",
"default": [],
"items": {
"type": "string"
}
},
"always": {
"type": "array",
"description": "Always break into these exceptions, e.g. 'copy.Error'",
"default": [],
"items": {
"type": "string"
}
},
"unhandled": {
"type": "array",
"description": "Break into these exceptions if they aren't handled, e.g. 'copy.Error'",
"default": [],
"items": {
"type": "string"
}
}
}
},
"env": {
"type": "object",
"description": "Environment variables defined as a key value pair. Property ends up being the Environment Variable and the value of the property ends up being the value of the Env Variable.",
"default": null
},
"envFile": {
"type": "string",
"description": "Absolute path to a file containing environment variable definitions.",
"default": null
}
}
},
"attach": {
"required": [
"localRoot",
"remoteRoot"
],
"properties": {
"localRoot": {
"type": "string",
"description": "Local source root that corrresponds to the 'remoteRoot'.",
"default": "${workspaceRoot}"
},
"remoteRoot": {
"type": "string",
"description": "The source root of the remote host.",
"default": null
},
"port": {
"type": "number",
"description": "Debug port to attach",
"default": null
},
"host": {
"type": "string",
"description": "IP Address of the of remote server (default is localhost or use 127.0.0.1).",
"default": "localhost"
},
"secret": {
"type": "string",
"description": "Secret used to authenticate for remote debugging.",