Skip to content

Commit

Permalink
Back port apache#1754 to 1.10
Browse files Browse the repository at this point in the history
* Update jvm option for JDWP in Mini
  • Loading branch information
milleruntime committed Oct 28, 2020
1 parent 51dde75 commit 252897d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,8 @@ public void run() {
}

private List<String> buildRemoteDebugParams(int port) {
return Arrays.asList(new String[] {"-Xdebug",
String.format("-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=%d", port)});
return Collections.singletonList(
String.format("-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=%d", port));
}

/**
Expand Down

0 comments on commit 252897d

Please sign in to comment.