I've just installed VSCode (version 1.30.2) and am setting it up to use with Python. I want to enable debugging. The default launch.json
contains this entry:
{
"name": "Python: Current File (Integrated Terminal)",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
}
I have modified it to also include the debugOptions
:
{
"name": "Python: Debug",
"type": "python",
"request": "launch",
"program": "${file}",
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput"
]
}
However, VSCode warns me about debugOptions
with the following warning:
Property debugOptions is not allowed.
I've seen this question but the answer doesn't seem to actually change the warning. Additionally, I don't seem to need the line that the answer indicates I need.
Debugging works with the configuration I have, but I want to remove the warning that VSCode is showing on "debugOptions". How can I do so?