Fix true/false in JSON when setting up adapter
This commit is contained in:
parent
55bb50d296
commit
bbaab0ebc1
1 changed files with 4 additions and 3 deletions
|
|
@ -473,10 +473,11 @@ class DebugSession( object ):
|
|||
if 'cwd' not in self._adapter:
|
||||
self._adapter[ 'cwd' ] = os.getcwd()
|
||||
|
||||
vim.vars[ '_vimspector_adapter_spec' ] = self._adapter
|
||||
channel_send_func = vim.bindeval(
|
||||
"vimspector#internal#{}#StartDebugSession( {} )".format(
|
||||
self._connection_type,
|
||||
json.dumps( self._adapter ) ) )
|
||||
"vimspector#internal#{}#StartDebugSession( "
|
||||
" g:_vimspector_adapter_spec "
|
||||
")".format( self._connection_type ) )
|
||||
|
||||
if channel_send_func is None:
|
||||
self._logger.error( "Unable to start debug server" )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue