Alow env and cwd to be specified for the _adapter_

This commit is contained in:
Ben Jackson 2019-02-01 10:05:16 +00:00
commit f1859639d7
2 changed files with 11 additions and 0 deletions

View file

@ -76,6 +76,8 @@ function! vimspector#internal#job#StartDebugSession( config ) abort
\ 'out_cb': funcref( 's:_OnServerData' ),
\ 'err_cb': funcref( 's:_OnServerError' ),
\ 'stoponexit': 'term',
\ 'env': a:config[ 'env' ],
\ 'cwd': a:config[ 'cwd' ],
\ }
\ )