You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
DonJayamanne
changed the title
Custom arguments passed into program being debugged are swallowed
Custom arguments passed are no longer being passed to python file being debugged
Apr 3, 2018
Note: This used to work
Could be related to Custom arguments passed are no longer being passed to python file being debugged #302 and Debugging of modules using -m is broken in VSC #299
Use VSC to debug a program
Add custom arguments in
launch.json
by adding items into theargs
(array) propertyDebug a python file with the following contents:
With the per-release version of PTVSD, custom args are passed through to the python file,
With the master branch of PTVSD, none of the args are passed to the python file
launch.json
You could either pip install PTVSD into your python interpreter or just add the path to
PYTHONPATH
as shown below:The text was updated successfully, but these errors were encountered: