You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Check if wait_for_client() works when trying to attach to PID #333
It doesn't work as listen or connect must be called first...
The workaround is doing something as:
import debugpy
import time
while not debugpy.is_client_connected():
time.sleep(.5)
print('.')
debugpy.wait_for_client() # this is still needed to make sure the configuration is synchronized.
Activity
fabioz commentedon Jul 16, 2020
It doesn't work as listen or connect must be called first...
The workaround is doing something as: