-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Feature] Remote Analysis #639
Comments
I would think regular port forwarding (for example via SSH switch |
I'd love to amend the docs. Can you write it up? The docs for that page are here. But maybe the solution deserves its own docs page, maybe at (Also, I have not tried that before, and I'm not sure what the pre-reqs are for this.) |
I see the port forwarding is in the other direction - but then it works fine. I used However, the easiest way is to simply run a remote SSH session in VSCode and install the extension there - then everything just works out of the box (just like in the WSL remote scenario)! How do I correctly add a new guide page? |
...OK I realized, the port forwarding "works" only to the extent that it successfully loads the trace into dbux in VSCode. But then it obviously fails to do anything useful with it because the file doesn't exist locally. So I guess the only working way (which luckily is also the most straight forward one) is to use the remote SSH extension for VSCode and simply use dbux in the remote VSCode session. |
That is a good point... remote analysis would require files mapped to where Dbux can find them... I guess, that was why I was hesitant to just implement it, since allowing custom address+port is easy. Mapping files on the other hand... hum... We theoretically have most of the important parts of the source code file in the data. Maybe this will be a bigger future work-type of feature, where we use the data that we have to reconstruct (mostly) complete original files from that data? And until then, we might just want to amend the docs to point to the SSH sln, or otherwise recommend people to make things "virtually available locally"? |
(I will add this to |
@2 I don't have a problem with that, requiring from a contributor to have bash available is fine I think. Plus, in this scenario one has more control over it. I'd run this in WSL anyway (I do all development work in WSL) and I'm sure it'll work out of the box. But even if I didn't, then it'd work fine in Git bash. (The problem in the other thread was not requiring someone to use bash but requiring the global EDIT: My bigger issue is that I don't use |
Again, I recommend |
Will probably look into Volta indeed, because I'm currently using asdf and it annoys the heck out of me. |
Side note: be careful to fully get rid of the old |
Hm... compared with the other "guides" - I'm not sure how much content I have, actually, now that port forwarding isn't included anymore. It would be a very short article. Is there some better place? Because all it'd really say is:
|
@CherryDT You can add it to the FAQ? As a feedback on your proposed content:
Either way, your enthusiasm is much appreciated. Hope, me giving you feedback like this does not piss you off. It is neither intended to be personal, nor a judgement of your work at all, just my opinion. |
No of course not. Also, calling it "debugging guide" was a lapse of mind, it was supposed to be "development guide" :) I'm not sure what the "most difficult" step would be? Perhaps setting up the SSH configuration if needed, but that's not really in the scope of this FAQ entry and can differ wildly depending on your setup. Essentially, it's this:
(About "which steps to follow": It would make sense to read the whole guide to understand how this works and what using a remote session in VSCode actually means. What the bare minimum would be is also different depending on your setup. I, for example, already have some SSH connections configured in my |
@CherryDT sounds good to me. Maybe capitalize the |
Is your feature request related to a problem? Please describe.
Dbux's Runtime Server is currently hard-coded to live on port
3374
and@dbux/runtime
connects tolocalhost:3374
. Thus, remote applications cannot currently be debugged.Describe the solution you'd like
This should be configurable in order to allow debugging remotely executed code as well as containers.
Is this covered by any of the Dbux known limitations or future-work items? If so, which?
Remote Analysis.
Important
Please let us know on discord and up-vote this feature, if this issue is blocking you from using Dbux.
The text was updated successfully, but these errors were encountered: