Skip to content

Conversation

@vsop-479
Copy link
Contributor

@vsop-479 vsop-479 commented May 7, 2025

When I run ./gradlew run --debug-jvm before Debug Elasticsearch, debug jvm will fail with process was found dead while waiting for ports files, node{::runTask-0}. And logs output:

ERROR: transport error 202: connect failed: Connection refused
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)

Change the order worked.

@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v9.1.0 external-contributor Pull request authored by a developer outside the Elasticsearch team labels May 7, 2025
Copy link
Member

@PeteGillinElastic PeteGillinElastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for taking the time to improve ES documentation!

I agree that the order required is as you say, so the docs should be changed.

I have one small suggestion.


---------------------------------------------------------------------------
./gradlew run --debug-jvm
---------------------------------------------------------------------------
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this should probably be moved below the following NOTE: paragraph. That note is about configuring IntelliJ, and it seems better to keep those bits together.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your review @PeteGillinElastic , I think I addressed your suggestion.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does address it, yes. Thanks.

@PeteGillinElastic PeteGillinElastic self-assigned this May 13, 2025
@PeteGillinElastic PeteGillinElastic added >docs General docs changes and removed needs:triage Requires assignment of a team area label labels May 13, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

@elasticsearchmachine elasticsearchmachine added the Team:Docs Meta label for docs team label May 13, 2025
Copy link
Member

@PeteGillinElastic PeteGillinElastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you again for taking the time to do this. I can take care of getting this merged.


---------------------------------------------------------------------------
./gradlew run --debug-jvm
---------------------------------------------------------------------------
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does address it, yes. Thanks.

@PeteGillinElastic
Copy link
Member

buildkite test this

@PeteGillinElastic PeteGillinElastic merged commit 3b0ef09 into elastic:main May 14, 2025
18 checks passed
@vsop-479 vsop-479 deleted the fix_debug_jvm_doc2 branch May 14, 2025 09:11
richard-dennehy pushed a commit to richard-dennehy/elasticsearch that referenced this pull request May 19, 2025
benchaplin pushed a commit to benchaplin/elasticsearch that referenced this pull request May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>docs General docs changes external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Docs Meta label for docs team v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants