Ken Perl wrote:
> Hi,
> I configured Apache::DB in my modperl2 and got a notice message in
> apache2 startup error.log,
> [notice] Apache::DB initialized in child 1123
> 
> I think I have setuped it successfully.
> And I also see the debugger welcome message,
> Loading DB routines from perl5db.pl version 1.28
> Editor support available.
> 
> Enter h or `h h' for help, or `man perldebug' for more help.
> 
> But I don't know to interactive with modperl to debug my program, I
> can only see  DB<1>  prompt symbol in the log file.

You need to start apache in single process mode and not detach it from the
terminal like so:

  httpd -X -D PERLDB

Look at
http://perl.apache.org/docs/1.0/guide/debug.html#Interactive_mod_perl_Debugging

-- 
Michael Peters
Developer
Plus Three, LP

Reply via email to