Manual python test
This commit is contained in:
parent
daf3b803f5
commit
dcc2c6c365
2 changed files with 17 additions and 3 deletions
|
|
@ -61,7 +61,7 @@ class DebugSession( object ):
|
||||||
self._configuration = None
|
self._configuration = None
|
||||||
self._init_complete = False
|
self._init_complete = False
|
||||||
self._launch_complete = False
|
self._launch_complete = False
|
||||||
self._on_init_complete_handlers = None
|
self._on_init_complete_handlers = []
|
||||||
self._server_capabilities = {}
|
self._server_capabilities = {}
|
||||||
|
|
||||||
def Start( self, launch_variables = {} ):
|
def Start( self, launch_variables = {} ):
|
||||||
|
|
@ -671,8 +671,7 @@ class DebugSession( object ):
|
||||||
if self._launch_complete and self._init_complete:
|
if self._launch_complete and self._init_complete:
|
||||||
for h in self._on_init_complete_handlers:
|
for h in self._on_init_complete_handlers:
|
||||||
h()
|
h()
|
||||||
|
self._on_init_complete_handlers = []
|
||||||
self._on_init_complete_handlers = None
|
|
||||||
|
|
||||||
self._stackTraceView.LoadThreads( True )
|
self._stackTraceView.LoadThreads( True )
|
||||||
|
|
||||||
|
|
|
||||||
15
support/test/python/simple_python/.vimspector.json
Normal file
15
support/test/python/simple_python/.vimspector.json
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"configurations": {
|
||||||
|
"run": {
|
||||||
|
"adapter": "vscode-python",
|
||||||
|
"configuration": {
|
||||||
|
"request": "launch",
|
||||||
|
"type": "python",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"program": "${file}",
|
||||||
|
"stopOnEntry": true,
|
||||||
|
"console": "integratedTerminal"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue