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

Display a message when starting a daemon in debug mode #737

Closed
zhaoyunxing92 opened this issue Nov 22, 2022 · 2 comments
Closed

Display a message when starting a daemon in debug mode #737

zhaoyunxing92 opened this issue Nov 22, 2022 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@zhaoyunxing92
Copy link

I don't know if the startup is successful after I turn it on, and the port is not released after I disconnect it.

Just like the following

➜  todo git:(main) ✗ mvnDebug clean compile
Preparing to execute Maven in debug mode
Listening for transport dt_socket at address: 8000
@gnodet
Copy link
Contributor

gnodet commented Nov 22, 2022

I agree a hint would be welcomed. For the port, I also agree that given the port number is fixed, it would be preferable to release it. The problem is that debug mode is turned on at for the JVM and I don't think there's a way to enable/disable remote debugging dynamically, which would mean the daemon would have to be killed.

@zhaoyunxing92
Copy link
Author

Well, then manually kill

gnodet added a commit to gnodet/mvnd that referenced this issue Dec 16, 2022
@gnodet gnodet added this to the 1.0.0-m1 milestone Dec 16, 2022
@gnodet gnodet added the enhancement New feature or request label Dec 16, 2022
@gnodet gnodet closed this as completed in 7a788bb Dec 16, 2022
@gnodet gnodet changed the title After turning on debug, I hope there will be a hint Display a message when starting a daemon in debug mode Jan 25, 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

2 participants