Specifying arguments in launch.json for Python

Mind that providing arguments in launch.json works like described until you need key value args.

For example, the command

$ python main.py --verbose --name Test

has to be coded inside the launch.json arguments line like this:

"args": ["--verbose", "--name=Test"],

Find a nearly hidden hint in the “Watson” example in Python debug configurations in Visual Studio Code.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)