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

Switch to debug with server=n #48188

Merged
merged 1 commit into from
Oct 21, 2019
Merged

Switch to debug with server=n #48188

merged 1 commit into from
Oct 21, 2019

Conversation

alpar-t
Copy link
Contributor

@alpar-t alpar-t commented Oct 17, 2019

Before this change one needed to re-start debugging several times, as we
launched multiple JVMs in debug mode.
With this option the IDE has the option to re-launch and listen for
connections again leading for to a more pleasant experience.

Before this change one needed to re-start debugging several times, as we
launched multiple JVMs in debug mode.
With this option the IDE has the option to re-launch and listen for
connections again leading for to a more pleasant experience.
Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

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

LGTM.

FWIW, once we address #46118 we'll be able have IntellIj setup this run configuration for us on project import.

@alpar-t alpar-t merged commit 832ddb3 into elastic:master Oct 21, 2019
alpar-t added a commit that referenced this pull request Oct 21, 2019
Before this change one needed to re-start debugging several times, as we
launched multiple JVMs in debug mode.
With this option the IDE has the option to re-launch and listen for
connections again leading for to a more pleasant experience.
alpar-t added a commit that referenced this pull request Oct 21, 2019
Before this change one needed to re-start debugging several times, as we
launched multiple JVMs in debug mode.
With this option the IDE has the option to re-launch and listen for
connections again leading for to a more pleasant experience.
@@ -43,6 +43,12 @@ supports a remote debugging option:
./gradlew run --debug-jvm
---------------------------------------------------------------------------

This will instruct all JVMs (including any that run cli tools such as creating the keyring or adding users)
to suspend and initiate a debug connection on port incrementing from 5005.
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: double white space before the 5005.

matriv added a commit to matriv/elasticsearch that referenced this pull request Oct 21, 2019
Remove extra whitespace and highlight the starting port number.

Follows: elastic#48188
matriv added a commit that referenced this pull request Oct 21, 2019
Remove extra whitespace and highlight the starting port number.

Follows: #48188
matriv added a commit that referenced this pull request Oct 21, 2019
Remove extra whitespace and highlight the starting port number.

Follows: #48188
(cherry picked from commit b84b7e1)
matriv added a commit that referenced this pull request Oct 21, 2019
Remove extra whitespace and highlight the starting port number.

Follows: #48188
(cherry picked from commit b84b7e1)
@alpar-t alpar-t deleted the debug-client branch November 11, 2019 09:38
@jimczi jimczi added the :Delivery/Build Build or test infrastructure label Nov 12, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Build)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team v7.5.0 v7.6.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants