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
I was debugging a notebook cell, which called a module.
I Set a breakpoint on the module I imported (.py file).
Somewhere during the debug session I clicked "restart debugging".
Then I got:
"Couldn't find a debug adapter descriptor for debug type 'Python Kernel Debug Adapter' (extension might have failed to activate)"
And I'm no longer able to debug the notebook until I restart vscode:
I think the problem here is we're re-starting the kernel without first shutting down the existing debugger.
Looking at the error message, this is from VS Code, leading me to believe debugger crashes unexpectedly (due to restart of the kernel), hence the error message from VS Code.
I.e. if we're already debugging, then we should shutdown the debugger, then restart the kernel.
It happened like this:
I was debugging a notebook cell, which called a module.
I Set a breakpoint on the module I imported (.py file).
Somewhere during the debug session I clicked "restart debugging".
Then I got:
"Couldn't find a debug adapter descriptor for debug type 'Python Kernel Debug Adapter' (extension might have failed to activate)"
And I'm no longer able to debug the notebook until I restart vscode:
Originally posted by @phgmacedo in #10596 (comment)
The text was updated successfully, but these errors were encountered: