GAIL-4-BARK / bark-ml

Machine Learning Applied to Autonomous Driving
MIT License
0 stars 0 forks source link

Add script to generate launch configs for VS Code #32

Closed MarcelBruckner closed 4 years ago

MarcelBruckner commented 4 years ago

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.