From d5ad0d67b2821e5ae9e4a043102bc6c2ac9430e4 Mon Sep 17 00:00:00 2001 From: erickgonzalez Date: Mon, 15 Jul 2024 10:57:11 -0600 Subject: [PATCH] feat: add port when running debug mode (#29226) 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. --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 5ee2bda7b9bf..b2a8f6cf77cb 100644 --- a/justfile +++ b/justfile @@ -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: