Debugging Python in VSCodium with “Attach using Process ID” times out on macOS Catalina

Not sure what I did back then, but right now this just works:

  1. Add the following to the code:

    import debugpy
    debugpy.listen(5678)
    debugpy.wait_for_client()
    debugpy.breakpoint()
    
  2. Run it

  3. Use VSCodium’s “Attach using Process Id” and search for the running code

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top