You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not related to remote-vscode or I checked the following issue
Imagine yourself into my position and think how hard to debug the issue without insufficient information.
I understand that you have privacy concerns and I expect you to understand that this extension is developed for free.
Thanks.
Describe the bug
Situation:
To run a GTest binary I create a docker container with the sdk and the toolchain needed to execute it. I created a wrapper to execute them using your extension, and it works good.
I build multiple GTest binaries from different components in my repository.
In order to improve performance, how I do it is to maintain the docker container started, and use the executionWrapper setting to execute the GTest binary using a docker exec container_id sh -c ./gtest_component_name_binary.
Problem:
Then, as a next step, I want to apply the debug configuration.
I'm blocked, as to be able to debug, when I am clicking on the test's debug button I need to start a gdbserver session for the GTest binary selected (I thought on using the ${parentLabel} which I set to be the GTest binary name).
I thought on doing that on the preLaunchTask.
However, I have not found any way to pass parameters to the preLaunchTask, as it can only be set as a name of a task inside tasks.json, and I cannot pass the binary name or the testname to do it automatically.
I would like to avoid any other user interaction.
Do you know how I could do that?
To Reproduce
1. Go to Testing Section
2. Click on Debug Test button
Desktop
Extension Version: v4.12.2
VS Code Version: 1.95.1
OS Type and Version: Ubuntu 24.04
Using remote-ssh/docker/wsl?: remote-devcontainers
How I use debug.configTemplate:
How I thought it could be used (and doesn't work, this task is not recognized as a task):
The text was updated successfully, but these errors were encountered:
IF the preLaunchTask is inside the debugConfig then both set should be available already. But as you tried it does not work but thats on the debugger not on the extension.
Checklist
I understand that you have privacy concerns and I expect you to understand that this extension is developed for free.
Thanks.
Describe the bug
Situation:
To run a GTest binary I create a docker container with the sdk and the toolchain needed to execute it. I created a wrapper to execute them using your extension, and it works good.
I build multiple GTest binaries from different components in my repository.
In order to improve performance, how I do it is to maintain the docker container started, and use the
executionWrapper
setting to execute the GTest binary using adocker exec container_id sh -c ./gtest_component_name_binary
.Problem:
Then, as a next step, I want to apply the debug configuration.
I'm blocked, as to be able to debug, when I am clicking on the test's debug button I need to start a gdbserver session for the GTest binary selected (I thought on using the
${parentLabel}
which I set to be the GTest binary name).I thought on doing that on the
preLaunchTask
.However, I have not found any way to pass parameters to the
preLaunchTask
, as it can only be set as a name of a task insidetasks.json
, and I cannot pass the binary name or the testname to do it automatically.I would like to avoid any other user interaction.
Do you know how I could do that?
To Reproduce
1. Go to Testing Section
2. Click on Debug Test button
Desktop
How I use
debug.configTemplate
:How I thought it could be used (and doesn't work, this task is not recognized as a task):
The text was updated successfully, but these errors were encountered: