Skip to content

Commit

Permalink
Ensure that dev mode debug host can be configured with -DdebugHost
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand authored and gsmet committed Jan 21, 2021
1 parent b5c0faa commit 03bd32e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,9 @@ public B classpathEntry(File f) {
}

public B debugHost(String host) {
debugHost = host;
if ((null != host) && !host.isEmpty()) {
debugHost = host;
}
return (B) this;
}

Expand Down
2 changes: 1 addition & 1 deletion devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public class DevMojo extends AbstractMojo {
@Parameter(defaultValue = "${suspend}")
private String suspend;

@Parameter(defaultValue = "localhost")
@Parameter(defaultValue = "${debugHost}")
private String debugHost;

@Parameter(defaultValue = "${project.build.directory}")
Expand Down

0 comments on commit 03bd32e

Please sign in to comment.