I have a shell script that sets certain environment variables then runs the perl debugger. With that I can step through the script.
I have to log in first, so that I have a valid session, and get the session id from the browser. Basically it's like this: #!/bin/bash export KOHA_CONF=/usr/local/koha/etc/koha-conf.xml export PERL5LIB=/usr/local/koha/lib export HTTP_COOKIE="CGISESSID=$1" export REMOTE_ADDR=127.0.0.1 exec perl -d $2 On Mon, Mar 28, 2011 at 10:21 AM, Paul <[email protected]> wrote: > Koha 3.02.05.000 on Ubuntu 10.10 > > Does anyone have a suggestion for a perl editor|debugger (or other method? > attach?) that allows stop lines and single-line step-by-step instructions? > > We need a fast way of following variables, objects and logic through > various .pl and .tmpl files - without having to read hundreds of lines of > code. > > Many thanks - Paul > tired old-sysadmin > > --- > Archives and Collections (ACS) Society > 205, Main Street, Picton, Ontario, K0K 2T0, Canada > http://www.AandC.org > Canadian Charitable Organization 88721 9921 RR0001 > Dedicated to maritime conservation and education. > _______________________________________________ > Koha-devel mailing list > [email protected] > http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel > website : http://www.koha-community.org/ > git : http://git.koha-community.org/ > bugs : http://bugs.koha-community.org/ >
_______________________________________________ Koha-devel mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
