-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Using ${workspaceFolder} and sourceMapFile for remote debugging a Linux Cluster #2110
Comments
Your first configuration is not part of this extension. The line If you want to use our extension through |
Ahh sorry about that. Is there a way to remotely debug over ssh using |
@tabedzki I posted a link in my previous comment. You can use our Take a look at the documentation and let me know if you need more help with that. |
I'll take a more in depth look into the Pipe Transport tomorrow, right now I have a general setup that doesn't work but that might be me not getting the paths exactly right as opposed to not knowing how to set up the configuration. Is there anything glaringly wrong with this setup: So from what I saw from the documentation, I have a general setup like this:
Also, does this support the |
Yes, those should be supported.
Your Your |
Ok. I think this covers most things that I need. Thank you for your help! |
If you are doing it locally, it should be |
@tabedzki I'm going to go ahead and close the issue. If you need more information, please reopen. |
Alright. Thank you for all your help! |
It appears I have another point on which I need clarification: Using the below configuration, I thought VS Code would read the local
From what I gather, this means that VS Code is trying to read Can VS Code and the cpp extension read the workspaceFolder variable and swap out the paths to the folder or does the Thanks in advance
|
@tabedzki the For your example, you need to change
|
Hi @pieandcakes,
First off, I just want to say thank you for all the hard work you and other members on your team are doing. The support here I've seen here on GitHub and the documentation on VS Code site is pretty extensive, especially for a project that doesn't seem to be monteized.
I am trying to remotely debug a program on our cluster (RedHat) from a Windows version of VS Code (1.24.0) and I would like some clarification about how some of the settings in the
launch.json
work and how they interact with each other. I am trying to run a simple program from https://github.com/dmrauch/vscode-cpp-remote-debug to test the capabilities; I can set breakpoints and remotely debug the program with the following configuration file:I was previously able to use
sourceFileMap
to map my remote directory to my local mounted copy of the cluster when I was connecting a local copy ofgdb
to a remote copy ofgdbserver
:Is there a way to do something similar with the first configuration file? I tried doing
sourceFileMap
but it does not appear to work either inside thessh
block or outside of it.The text was updated successfully, but these errors were encountered: