-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could a disable_attach API available? #297
Comments
As
for that. -- please let me know if that works for you (if it does a |
@buddyliao as a note, @karthiknadig @int19h can you move this issue to https://github.com/microsoft/debugpy? |
Dear fabioz,
|
I wasn't suggesting that you use it for client attach, just to stop tracing while there's no |
Thank you fabioz. |
Since the API is now |
Thank you for the report. Given our current resources are working on the Python 3.12 debugger, we will not be fixing this issues in the pre Python 3.12 debugger. |
Is there some current workaround to stop the debugging server? import debugpy
port = 9992
debugpy.listen(port)
print('start debug server')
import pydevd
pydevd.stoptrace()
print('debug server stopped')
debugpy.listen(port)
# RuntimeError: timed out waiting for adapter to connect
# never printed:
print('debug server restarted') |
please |
There is so much of us who would really appreciate if you could implement a function like |
yes please |
ptvsd offers an enable_attach() API for us to start the debug, however, if we want to disable the debugger, we need to restart the python process, I am wonder whether a disable_attach API is available for us to stop the debugger?
The text was updated successfully, but these errors were encountered: