>Does anyone know of a way to set specific debug options?
Yup, you can do it using the (undocumented, therefore unsupported) factory methods:
<cfscript>
// grab the debugging service
factory = createobject("java", "coldfusion.server.ServiceFactory");
cfdebugger = factory.getDebuggingService();
// set the appropriate vars
cfdebugger.settings.cgivar = 0;
cfdebugger.settings.sessionvar = 0;
</cfscript>
If you want a list of the "options" available for you to set (and their current values), run the following after grabbing the debugging service instance:
<cfdump var="#cfdebugger.getSettings()#">
HTH,
Tim.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Programmatically set debug options Suyer, Ed [PRD Non-J&J]
- RE: Programmatically set debug options Nathan Strutz
- Re:Programmatically set debug options Tim Blair
- Re:Programmatically set debug options David Adams