While upgrading a CB application from 2.x to 5.0 - the following bit of code is throwing an error.
event.showdebugpanel( false );
is throwing an error
component [coldbox.system.web.context.RequestContext] has no function with name [showdebugpanel]
I’ve installed the coldbox debugger via commandbox
I would look into something like this:
getInstance( ‘debuggerService@cbdebugger’ ).setDebugMode( false );
Oh wait, I just noticed int he readme for cbdebugger right after I send this: these function are available in every handler, interceptor, layout, and view:
Just call those.
Thanks. Both of those methods work.