> Is there a way to turn on dynamic debugging?
> Rather than setting it up in CFAdmin by choosing Output Debug
> Data and Setting an IP to allow debug data on?
> I would like to perhaps set debug on in Application.cfm if possible.
> <cfif Client.DebugUser = "Yes">
> Turn On Debug Output
> <cfelse>
> </cfif>

Turn on debugging in the administrator.

<!---
Create a list of Ips that you want to allow:
--->
<cfset variables['allowedIPs'] = "IP1,IP2,IP3" />

<!---
Check to see if the user is in the list
--->
<cfif ListFind(variables['allowedIPs'],CGI.REMOTE_ADDR, ",")>
<cfsetting showdebugoutput="Yes">
<cfelse>
<cfsetting showdebugoutput="No">
</cfif>

HTH,

Mike
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to