Skip to content

Expose command to establish live connection to remote apps in vscode #947

@Eskibear

Description

@Eskibear

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 setting boot-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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions