-
Type:
Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: Dev Tools
-
Labels:None
-
Type of Documentation:Developer: Reference
-
Git Pull Request:
This ticket is to add documentation for the new flags to "blade server start" and "blade server run", -p, --port, which allows the user to choose a custom remote debugging port, and -s, --suspend, which starts the server in suspend mode, waiting for the user to connect with a debugger before proceeding.
These flags are temporal and per-invocation, they only apply per invocation of the commands, and are not persisted to the server between invocations.
They also only apply when the user is using the -d, --debug flag.
These features were added in BLADE-395 https://issues.liferay.com/browse/BLADE-395
```
-p, --port
Debug port number in debug mode
Default: 8000 (tomcat) or 8787 (wildfly)
-s, --suspend
When in debug mode, suspend the started server until the debugger is
connected
Default: false
```