Support runInTerminal (sort of)
This commit is contained in:
parent
689b006b6f
commit
62e9335a10
3 changed files with 43 additions and 0 deletions
|
|
@ -166,3 +166,11 @@ class DebugAdapterConnection( object ):
|
|||
else:
|
||||
utils.UserMessage( 'Unhandled event: {0}'.format( message[ 'event' ] ),
|
||||
persist = True )
|
||||
elif message[ 'type' ] == 'request':
|
||||
method = 'OnRequest_' + message[ 'command' ]
|
||||
if method in dir( self._handler ):
|
||||
getattr( self._handler, method )( message )
|
||||
else:
|
||||
utils.UserMessage(
|
||||
'Unhandled request: {0}'.format( message[ 'command' ] ),
|
||||
persist = True )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue