Skip to content

Running Boot processes from IDE client #1190

Closed

Description

@BoykoAlex

Currently to connect to running Spring Boot Apps the Boot LS process uses JVM internal APIs to get all running java processes and then user can select one of these processes.
This approach won't work with the Graal VM native image of the Boot LS. We can limit the list of java processes to those launched via the IDE client (VSCode/Eclipse)
(cc: @martinlippert )

Activity

  1. added this to the 4.22.0.RELEASE milestone on Feb 12, 2024
  2. self-assigned this
    on Feb 12, 2024
  3. added
    for: eclipse
    for: vscode
    and removed on Feb 13, 2024
  4. martinlippert commented on Feb 13, 2024

    @martinlippert
    Member

    Yes, makes sense to me. We could include a preference that switches this behavior back to "show all JVM processes on the machine", in case the language server runs on a regular JVM (not a native image). But the default behavior should be to show the list of processes launched via the IDE client.

    It would also make the list of processes a lot cleaner when they show up in the menu (quick pick or drop-down) to select a process, e.g. when changing log levels, connect to the process, etc.

  5. BoykoAlex commented on Apr 4, 2024

    @BoykoAlex
    ContributorAuthor

    Fixed with eb3d46d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodetheme: live-datatype: enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions