Skip to content
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

new ssh.sourceFileMap configuration for multiple substitutions #323

Merged
merged 1 commit into from
Mar 8, 2022

Conversation

GitMensch
Copy link
Collaborator

fixes #298

also allows to have an actual separate ssh working directory

This is tested and works like a charm (yay, finally I can actually set the working directory - because that's not where the sources are), the only reason for requesting a review (feel free to click on "merge pull request") is that @WebFreak001 previously questioned that setting.

@GitMensch
Copy link
Collaborator Author

GitMensch commented Mar 4, 2022

To be "in line" with the MS setting of the same name

example: "sourceFileMap": { "/mnt/c": "c:\" } will map any path returned by the debugger that begins with /mnt/c and convert it to c:\. You can have multiple mappings in the object but they will be handled in the order provided.

I'll swap it from the current one in this PR which is the other way around. ... Done

@GitMensch GitMensch force-pushed the ssh-sourceFileMap branch 2 times, most recently from fcb1c02 to 8d1460f Compare March 4, 2022 21:58
fixes #298

also allows to have an actual separate ssh working directory

additional:
* fix for extended-remote without executable
* fix for SSH to Win32
@GitMensch
Copy link
Collaborator Author

Tested with all different kinds of ssh connections, with/without additional pathSubstitution and also for ssh to win32 - all done -> merged

@GitMensch GitMensch merged commit 7a7485f into master Mar 8, 2022
@GitMensch GitMensch deleted the ssh-sourceFileMap branch March 8, 2022 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to apply multiple cwd entries for ssh debugging?
1 participant