-
Notifications
You must be signed in to change notification settings - Fork 454
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
Cannot start CMake debugger in (Conan-)bootstrapped environments #4022
Comments
Thanks for posting the issue! To help us understand the issue and prioritize it, could you tell us what version of the extension is this on? |
It's on v1.19.49, which is the latest available for me now. |
@rschuurmanbench Can you install the 1.18.44 version and let me know if it works there? Our expectation is that it still won't work there. We're trying to understand if this is a regression |
@gcampbell-msft Users have verified that this issue is still reproduced on CMake Tools:v1.18.44, can you give some advice? |
@v-frankwang Yes, this is a feature request. @rschuurmanbench I actually believe this would be a possible feature request for VS Code. We don't control how the |
Brief Issue Summary
I am using Conan and CMake, and Conan will start CMake in the
def build()
, as shown here:As I understand, this means that if I want to use the CMake debugger for this, I need to set vscode debug type to
external
and provide--debugger --debugger-pipe \\.\pipe\MyCmakeDebugger
as arguments to CMake.The conanfile looks like this:
Now I have this launch configuration:
Now if I run this, the preLaunchTask will block, waiting for a debugger to connect.
It would be much better if VSCode just waits for the preLaunchTask to open the pipeName, and then connect to that.
If I seperate the 2 calls (run the task manually, then start the debugger), then it works perfectly fine.
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: