-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to retrieve the filename of cmake.launchTargetPath #632
Comments
It looks like you could fetch the Could you instead have program call a script which accepts the target and then builds the path you need, and then calls the executable you're wanting to launch? |
Using an external script would be possible, but I would like to keep the configuration as simple as possible. How would I access the launchTarget value from within the launch json? I've already tried |
The Implementation does not support it yet. I took a looked into the implementation, the information is very close to the extension API |
You said the deployment made the matter works well. So what is the problem? |
This is available in 1.4.2 |
Brief Issue Summary
My launch configuration uses remote gdb debugging using pipeTransport like so:
This works fine, as long as the deployment task puts the executable returned by
cmake.launchTargetPath
on the target at the same location as on the local machine.Is there a way to extract the filename part of
cmake.launchTargetPath
such that I can have custom deployment locations? C.f. microsoft/vscode-cpptools#2110 (comment)Platform and Versions
The text was updated successfully, but these errors were encountered: