Skip to content

Confusion around cwd #1200

Discussion options

You must be logged in to vote

I think you might be mixing up adapters of type executable with adapters of type server.
See :help dap-adapter.

For executable, there is a options table with cwd.
For server, there is a optional executable table with cwd. The options refer to the connect option. Strictly speaking for symmetry there would need to be server.executable.options.cwd, but I ommitted that extra level.

The code to look at is here:

cwd = executable.cwd,

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fredrikaverpil
Comment options

Answer selected by fredrikaverpil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants