How do I debug a python application with Okteto and VSCode

Hey @russkey007!

That typically happens when your debug command in VSCode is configured to start a process rather than attaching to the existing one.

This document explains the principles of remote debugging with python. The sample uses PyCharm.

This recent thread contains an example on how to use VSCode to debug a FastAPI python API, I think this might help you see what your configuration is missing.

Hope it helps!

1 Like