Argumenty linii poleceń w debugowaniu Pythona
# In vscode you need to click on the screw in the debugging sidepanel.
# It will open up a json file with some text already written there.
# Example:
# Let's say I have a script named script.py
# which takes 2 arguments, path to file and a boolean verbose
# Normally we would write something like this in the terminal:
# python script.py --filename=foo.txt --verbose
# In the json, you pass them in a list as follows:
"args": ["--filename", "foo.txt", "--verbose"]
# Notice that you drop the "=" and
# write --filename and foo.txt as separate list entries
Burouj Armgaan