Setting the current working directory in launch.json #33
|
I can not find a way to set the cwd to be used during debug. |
Answered by
jonahgraham
Jun 2, 2023
Replies: 2 comments 3 replies
|
Hi @sdegrande, What exactly are you trying to configure? CDT Cloud Blueprint contains a simple CMake example for which we also provide a (debug) launch configuration. For this simple scenario it's enough to specify the program to debug. To examine all configuration options for the CDT Cloud CDT GDB Adapter, see here. |
1 reply
|
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 |
2 replies
Answer selected by
jonahgraham
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 likecd /path/to/desired/current/working/directory