I would like to pass the "-q -X faulthandler" arguments to the python interpreter in VS code launch.json but I have not found a solution yet (args passes argument to the .py file).
So the command would look like this in the teminal:
python** -q -X faulthandler** main.py --arg1 --arg2
Thank you!
I've read the VS code documentation but I have not found any description for this. I've tried to execute the python script in VS code with the following lauch.json options (neither worked):
1, "type": "python -q -X faulthander", "cwd": "${workspaceRoot}", "request": "launch", "program": "main.py",
2, "type": "python", "cwd": "${workspaceRoot}", "request": "launch", "program": "- q -X faulthandler main.py",


"pythonArgs": ["<arg 1>", "<arg 2>",...].