Debug Python Script with Parms in Visual Studio Code

Refer: https://code.visualstudio.com/docs/python/debugging

Code Example: hello_parms-py.txt

In Visual Studio Code, choose "Run",  "Open Configurations" or "Add Configuration".

The magic is in the following array:

"args" : ["--port", "1593", "--parm", "hello"]

Leave a Reply