[Catalyst] Drop to Perl Debugger?

Richard Jolly Richard.Jolly at bbc.co.uk
Fri Feb 10 11:21:08 CET 2006


 

> -----Original Message-----
> From: catalyst-bounces at lists.rawmode.org 
> [mailto:catalyst-bounces at lists.rawmode.org] On Behalf Of 
> Sebastian Riedel
> Sent: 10 February 2006 07:40
> To: The elegant MVC web framework
> Subject: Re: [Catalyst] Drop to Perl Debugger?
> 
> 
> 10.02.2006 02:20 <hkclark at gmail.com> <hkclark at gmail.com>:
> 
> > Is there a way to drop to the perl debugger while a Catalyst app is 
> > running in the development server script?  Maybe with 
> something like:
> >
> > $DB::Single=1
> >
> > So that you can pay around with model objects and stuff "live"?
> 
> perl -d script/myapp_server.pl

I find

  perl -d script/myapp_test.pl /some/action

very helpful, with a breakpoint on the action in question.

Richard

http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. 
Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received. 
Further communication will signify your consent to this.





More information about the Catalyst mailing list