Create the debug control file:
Version 2014 and below:
- Create a text file in the ECOMETRY\LISTENER folder named WEBWRK (no file extension).
Version 2018 and above:
- Create a folder under ECOMETRY\LISTENER\ named WEB.
- In the ECOMETRY\LISTENER\WEB\ folder, create a file named WEBWRK (no file extension).
Open the file with a text editor like Notepad.
Enter the following data on the first line: YYYSSXXXX,1234567890########XX1234567Y9012345678901234567890N
- This is a set of control switches that drive the type of debugging being captured.
- When a position or switch is set to Y that switch is turned on.
- When a switch is set to a numeric value or N the switch is turned off.
- These switches should not be altered unless instructed to do so by your support representative.
Restart the weborder listener:
- Debug will only work if the listener is started directly from the .bat file in the ECOMETRY\LISTENER folder.
- If the web listeners are run as services, the weborder service will need to be stopped and the listener will need to be restarted using a .bat file.
- Starting the listener in this manner opens up a command window. Closing that window will stop the listener. For the duration of testing/debug, the command window can minimized.
Where debug files are written:
- Debug files are created in the folder containing the WEBWRK file. They are named weborder_xxxxxx (the Xs will be the number of the listener process).
How to disable weborder debug:
- Stop the Weborder listener, rename the WEBWRK file to WEBWRK_OFF, and restart the Weborder listener.