Skip to content

Setting the current working directory in launch.json #33

Closed Answered by jonahgraham
sdegrande asked this question in Q&A
Discussion options

You must be logged in to vote

There is an enhancement request to add support for current working directory of the inferior. Please see eclipse-cdt-cloud/cdt-gdb-adapter#90

Patches welcome!


In the meantime you can add a custom command to initCommands - perhaps something like cd /path/to/desired/current/working/directory

Replies: 2 comments 3 replies

Comment options

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

Comment options

You must be logged in to vote
2 replies
@sdegrande
Comment options

@jonahgraham
Comment options

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