Switch to debugpy over vscode-python

This is just better in every way, and the vscode-python typescript
adapter is being phased out.
This commit is contained in:
Ben Jackson 2020-02-08 18:05:21 +00:00
commit a56bee7b0a
5 changed files with 76 additions and 36 deletions

View file

@ -217,6 +217,11 @@ class ProjectBreakpoints( object ):
response_received()
# NOTE: Must do this _first_ otherwise we might send requests and get
# replies before we finished sending all the requests.
if self._exception_breakpoints is None:
self._SetUpExceptionBreakpoints( self._configured_breakpoints )
# TODO: add the _configured_breakpoints to line_breakpoints
# TODO: the line numbers might have changed since pressing the F9 key!
@ -272,9 +277,6 @@ class ProjectBreakpoints( object ):
failure_handler = lambda *_: response_received()
)
if self._exception_breakpoints is None:
self._SetUpExceptionBreakpoints( self._configured_breakpoints )
if self._exception_breakpoints:
awaiting = awaiting + 1
self._connection.DoRequest(