File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
packages/debugger/src/robotcode/debugger Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -118,16 +118,17 @@ def start_debugpy(
118118 global config_done_callback
119119
120120 def connect_debugpy (server : "DebugAdapterServer" ) -> None :
121- server .protocol .send_event (
122- Event (
123- event = "debugpyStarted" ,
124- body = {
125- "port" : port ,
126- "addresses" : addresses ,
127- "processId" : os .getpid (),
128- },
121+ if not os .environ .get ("DEBUGPY_ADAPTER_ENDPOINTS" , None ):
122+ server .protocol .send_event (
123+ Event (
124+ event = "debugpyStarted" ,
125+ body = {
126+ "port" : port ,
127+ "addresses" : addresses ,
128+ "processId" : os .getpid (),
129+ },
130+ )
129131 )
130- )
131132
132133 if wait_for_debugpy_client :
133134 app .verbose (f"Wait for debugpy incomming connections listening on { addresses } :{ port } " )
You can’t perform that action at this time.
0 commit comments