Introduction
This article describes a method to use a perl debugger on trigger scripts
without advanced interprocess debugging tools.
Using a perl debugger with a V4.x server side trigger launched by the server
is very difficult and encounters two known obstacles:
The server will fire the trigger and the debugger will run in a thread of the
detached server process; the debugger will start but will probably not
communicate with you. However, if you manually started the server via a shell
command then the perl debugger will start, accept input from the keyboard,
then you will loose contact with the debugger; it does not have exclusive
access to the keyboard because it is running in the context of the detached
server process. The next command you type will go to the shell, not the
debugger. It gets messy from there. Debugging on your live server means
another AccuRev... (more)