This post shows how to configure launch.json in VSCode for debugging C++.
This post shows how to configure launch.json in VSCode for debugging Python.