Skip to content

Commit

Permalink
feat: add port when running debug mode (#29226)
Browse files Browse the repository at this point in the history
This will enable dotcms debug mode to start on the specified port.
Previously, dotcms started on a different port each time, which was
time-consuming for developers to locate.
  • Loading branch information
erickgonzalez authored Jul 15, 2024
1 parent 4d11896 commit d5ad0d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ dev-run-map-dev-paths:
./mvnw -pl :dotcms-core -Pdocker-start -Pmap-dev-paths

# Starts the dotCMS application in debug mode with suspension, useful for troubleshooting
dev-run-debug-suspend:
./mvnw -pl :dotcms-core -Pdocker-start,debug-suspend
dev-run-debug-suspend port="8082":
./mvnw -pl :dotcms-core -Pdocker-start,debug-suspend -Dtomcat.port={{ port }}

# Starts the dotCMS Docker container in the background, running on random port
dev-start:
Expand Down

0 comments on commit d5ad0d6

Please sign in to comment.