I added a python script which takes a path to a python executable and outputs a final config that can be copy and pasted into the launch.json file in VS Code to run the executable.
With this launch config we can again run and debug python code in VS Code.
The script can be run with
bazel run //utils/python:generate_launch_configuration -- --script_path="<path-to-.py-file>"
See the wiki on Debugging in Visual Studio Code for more infos.
I added a python script which takes a path to a python executable and outputs a final config that can be copy and pasted into the launch.json file in VS Code to run the executable.
With this launch config we can again run and debug python code in VS Code.
The script can be run with
bazel run //utils/python:generate_launch_configuration -- --script_path="<path-to-.py-file>"
See the wiki on Debugging in Visual Studio Code for more infos.