But given the advice I've submitted, you could turn on debugging when 
you needed to, change the app.cfm file in question and do your work. 
Then you could just turn it back off again.

*****************
Ken Ferguson
214.636.6126
*****************






Ben Nadel wrote:
> >From what I have read, you don't want to have debugging on if you are not
> going to show it as you still get a performance hit due to debugging
> overhead. But don't know from personal experience.
>
> .......................
> Ben Nadel 
> Web Developer
> Nylon Technology
> 350 7th Avenue
> Floor 10
> New York, NY 10001
> 212.691.1134 x 14
> 212.691.3477 fax
> www.nylontechnology.com
>  
> "Some people call me the space cowboy. Some people call me the gangster of
> love."
>
> -----Original Message-----
> From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 05, 2006 5:50 PM
> To: CF-Talk
> Subject: Re: Debugging per request
>
> You could add this code to every application.cfm file on the machine.
>
> <cfset session.showdebug = false>
> <cfif session.showdebug>
>     <cfsetting showdebugoutput="true">
> </cfelse>
>
> and then on the applicaiton in question, you could go in and change the
> cfset line to = true based on a login or a url variable or whatever you
> like. It should be a simple matter to add that little snippet of code to the
> Application.cfm files - even if there are dozens of them.
>
> *****************
> Ken Ferguson
> 214.636.6126
> *****************
>
>
>
>
>
>
> Joseph Lamoree wrote:
>   
>> On 5 Jul 2006, at 13:12, Russ wrote:
>>
>>   
>>     
>>> Try something like this:
>>>
>>> <cfif isDefined("url.showDebugOutput")>
>>>     <cfsetting showDebugOutput="true">
>>> </cfif>
>>>     
>>>       
>> The cfsetting tag provides a way to suppress debugging information if 
>> it would otherwise have been displayed, however (at least in the 
>> testing I've done with CFMX 7.1) it does not enable the display of 
>> debug information.
>>
>> There are dozens of sites on this CFMX instance, so I can't turn on 
>> debugging for everyone, and then to update all the pages in user 
>> accounts to add the <cfsetting showdebugoutput="false"/> tag.
>>
>> Have you tried adding <cfsetting showdebugoutput="true"/>, and causing 
>> the debugging info to appear? Is there an administrator configuration 
>> option that causes it function that way?
>>
>> --
>> Joseph Lamoree
>>
>>
>>     
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245460
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to