Command line debug

Document ID : KB000090062
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Command line debug
Resolution:
Symptoms
Debug initiation via the command line is accomplished by running an awexe command.  Once run, both Agent Service and RMI debugging can be enabled to run at a specific time for a defined duration.

Solution

Navigate to the AW_HOME/site folder of the Automation Engine

Set up the Applications Manager environment buy running sosite or sosite.bat
 
Run the awexe command
type:  awexe SCHEDULE_DEBUG START_TIME=<HH:mm> MINUTES=<mmm>

Agent service and RMI will be enabled when the start time is reached, and run for the length of time defined for minutes.

Example:  awexe SCHEDULE_DEBUG START_TIME=15:30 MINUTES=05
In the provided example AgentService and RMI debugging would start at 15:30, and run for five minutes.  The command can also be added to a script and scheduled to run during off hour times.