Hi,
Remote debugging works at the moment like the debugged app/process/script listens for the connection (is the server) and VS Code connects (is the client), right?
Is there any way to turn this around? VS Code listening and doing debugpy.connect() ? I found references in docs for debugpy.connect() but nothing for the VS Code side.
The thing is we have more containers with python code and it will be a pain to setup debugging this way in all (at the same time).
Port 5678 can be mapped to a single container at the same time.
With Komodo IDE the solution was that the IDE was listening for connections and the client dbgp initiated the connection.
Hi,
Remote debugging works at the moment like the debugged app/process/script listens for the connection (is the server) and VS Code connects (is the client), right?
Is there any way to turn this around? VS Code listening and doing
debugpy.connect()? I found references in docs fordebugpy.connect()but nothing for the VS Code side.The thing is we have more containers with python code and it will be a pain to setup debugging this way in all (at the same time).
Port 5678 can be mapped to a single container at the same time.
With Komodo IDE the solution was that the IDE was listening for connections and the client dbgp initiated the connection.