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

Debugging capability should support random ports #633

Open
rgrunber opened this issue Oct 31, 2023 · 0 comments
Open

Debugging capability should support random ports #633

rgrunber opened this issue Oct 31, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@rgrunber
Copy link
Member

As per https://twitter.com/maxandersen/status/1719295806795026479 .

preLaunchTask: this.quarkusBuildSupport.getQuarkusDevTaskName(this.workspaceFolder, this.projectFolder),
type: 'java',
request: 'attach',
hostName: 'localhost',
name: launchConfigName,
port: 5005

Currently we debug using a launch task that launches Quarkus in dev mode and connects to port 5005. If the port becomes randomized (due to a conflict) I think we'll need to de-couple the pre-launch task from the debug launch, and add some kind of listener into the logs to detect the change. Then we can launch the debug task independently on the new port.

@rgrunber rgrunber added the enhancement New feature or request label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant