-
Notifications
You must be signed in to change notification settings - Fork 210
Expose command to establish live connection to remote apps in vscode #947
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I would prefer option a, enhancing the existing command with the option to specify all your need to connect to the running process as params to the command. And we can keep this backwards compatible with the existing |
@Eskibear This seems available already to me. Not in the most convenient and documented way, however it seems usable... I'd be very happy if you could try it out and provide feedback.
|
@BoykoAlex Thanks for the info. The command
BTW, what was |
I don't recall what the exact meaning of |
@Eskibear how's it going? Are you okay with these 2 commands? Is |
I'm closing this issue now. Thanks! |
@BoykoAlex I'm reopening this issue as I find an unexpected behavior when using this command, i.e. I cannot "remoteConnect" the same remote app again after disconnecting it. Steps to repro:
I expect the command |
I think it should be like this: |
Yes, you are right. Sorry I forgot it after the long vacation... 🤦 |
Context
In VS Code Spring Boot Dashboard extension, we want to allow user to establish live connection to remote apps with one click. See microsoft/vscode-spring-boot-dashboard#262 (comment)
This requires vscode-spring-boot to expose a command to establish the connection given jmxUrl.
Current Behavior
Technically I can call command
sts/livedata/connect
, if jmxUrl of the app is specified in settingboot-java.remote-apps
. But that will modify user's settings file.Expected Behavior
What I'm thinking now is either of the following approaches:
Option a) allow
sts/livedata/connect
to connect to the app, even when it's not specified in the settings.Option b) expose a specific command, allowing downstream extensions to establish live connection on demand via calling it.
Or any other approach to unblock the use case.
The text was updated successfully, but these errors were encountered: