'python code is run with config file, how to debug?

I'm using VScode and would like to use the debugger. My code is set up such that I run it from the terminal specifying a json config file. How can i run VScode's debugger without having to change the code?



Solution 1:[1]

enter image description here

You can add the .json files you need here.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 MingJie-MSFT