Setting the current working directory in launch.json #33
-
I can not find a way to set the cwd to be used during debug. |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
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