[Catalyst] debug mode

Matt S Trout dbix-class at trout.me.uk
Tue Jun 5 00:56:21 GMT 2007

On Mon, Jun 04, 2007 at 10:32:07AM -0400, John Goulah wrote:
> What is the best way to deal with the -Debug flag between a production and
> development environment?  Obviously its not desirable to go into the file
> and remove the flag every time the code goes to prod.   I see you can start
> the stanalone server with -d to force debug.  I think I remember about an
> environment variable to set debug also.  Is the preferred method to take the
> hardcoded flag out and use one of these, or is there another way (such as a
> config option)?  How are people dealing with this?

-Debug is mostly a "this is still in early dev" convenience; I'd take it out
before first deployment and use -d or the MYAPP_DEBUG/CATALYST_DEBUG env
vars from then on.

      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 

More information about the Catalyst mailing list