Visual Studio Code: How debug Python script with arguments

Hi team

I need to debug a script called find.py with arguments, but I don’t know where I need to put the arguments. By line command the script run ok. I need to run by Debug button in visual code.

find.py -s 0V1JXON178R0G007NZ6 -f message.log.2024-06-05_1929.2024-06-05_1931.cexpgtap4p.gz,message.log.2024-06-05_1931.2024-06-05_1933.cexpgtap4p.gz,message.log.2024-06-05_1932.
2024-06-05_1933.cexpswap4c.gz,message.log.2024-06-06_0613.2024-06-06_0620.cexpgtap4p

Regards

There, in the launch.json, in configuration.args.

1 Like