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

[Enh] Add [external] tunneling support #286

Open
AnrDaemon opened this issue Jul 17, 2018 · 7 comments
Open

[Enh] Add [external] tunneling support #286

AnrDaemon opened this issue Jul 17, 2018 · 7 comments
Assignees
Labels

Comments

@AnrDaemon
Copy link

Even just a command to launch external tunnel program to receive debugging connection would simplify setup.
Right now, I launch SSH tunnel manually to open the session for debugging.

@btry
Copy link

btry commented Sep 28, 2018

Hi

I agree, It would be very convenient to use ssh port forwarding features to easily debug a remote server

@marabesi
Copy link

marabesi commented Jan 2, 2019

+1

@zobo
Copy link
Contributor

zobo commented Feb 2, 2022

I feel this should be responsibility of a different VS Code extension. You could also use tasks.json, I'm sure there is a way.
Also, if possible, I strongly suggest VS Code Remote SSH.

@zobo zobo closed this as completed Feb 2, 2022
@AnrDaemon
Copy link
Author

I tried remote SSH, it is inconvenient on intermittent connection.
Yes, I can configure shell profile as SSH with tunneling. Guess I have to…

@zobo
Copy link
Contributor

zobo commented Feb 2, 2022

Yes, if the connection is unstable then it can probably be a pain.
If you don't have a defined workflow, you can probably make a task like here https://code.visualstudio.com/docs/editor/tasks and execute ssh with the propper -L or -R parameters.

I think you could also couple this with preLaunchTask in launch.json. https://code.visualstudio.com/docs/editor/debugging#_launchjson-attributes

Good luck!

@AnrDaemon
Copy link
Author

Yes, that's a good idea.
Worth adding to the documentation, don't you think?

@zobo zobo self-assigned this Feb 3, 2022
@zobo zobo added the docs label Feb 3, 2022
@zobo zobo reopened this Feb 3, 2022
@zobo
Copy link
Contributor

zobo commented Feb 3, 2022

I'll leave it open, and figure out where to document cases like this... I think it's a bit too much for the main README, but I should definitely make a Wiki or a "product page".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants