<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=187485014-04062007><FONT face=Arial
color=#0000ff size=2>I thought a nice way would be to be able to specify it in
the config file; then your _local.yml file could add it for the dev environment.
Yet to produce a patch for that though it should be pretty straight
forwards.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=187485014-04062007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=187485014-04062007><FONT face=Arial
color=#0000ff size=2>Mark</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> John Goulah [mailto:jgoulah@gmail.com]
<BR><B>Sent:</B> 04 June 2007 15:32<BR><B>To:</B> The elegant MVC web
framework<BR><B>Subject:</B> [Catalyst] debug mode<BR></FONT><BR></DIV>
<DIV></DIV>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?
<BR><BR>Thanks,<BR>John<BR></BODY></HTML>