Closed nkanderson closed 1 year ago
Thanks for taking a look @liamphmurphy! That's unfortunate that this config hasn't worked for hitting any specified breakpoints for you yet 🤔 Were there any errors that popped up when you tried it? I saw some messages that I believe were related to the pathMappings
, but I was able to hit breakpoints. For the docker-compose.debug
and Python: Attach
debugger, I created a breakpoint in metrics-api.py
that I was able to hit. And for the other debug config, I hit several breakpoints I'd created in gtfs.py
(though it did take a very long time to start up and run, and eventually get to those parts of the code).
Ok, @sidetrackedmind just pushed those changes we talked about!
Proposed changes
Adds VS Code configuration and docs for debugging the Flask app and Python command line scripts.