News for hackers. Stuff that matters.
Re:Guide to Python Debugging by TuringNYC on Tuesday June 02, 2020 @09:50AM (#23390964)
I'm curious - how do you use pdb when debugging, say, controllers on web functions? I guess you can try and debug underlying functions using pdb, but i'm not sure how it happens (short of logging) once you're means of interaction is an HTTP call, or a response (e.g., to a trigger/message)
Re:Guide to Python Debugging by tummybug on Tuesday June 02, 2020 @10:18AM (#23391256)
Run the application locally in a terminal and just use pdb normally. To do it to an application running in a container is slightly more involved but still possible.