isDebugMode()

Can’t find any info about when this change happened but…

Since isDebugMode() has moved away from the CF behaviour (and now simply returns whether debugging is enabled, irrespective of any IP filtering on templates), I was wondering - what’s the best way of replicating the old (CF) behaviour? In other words, checking whether debug is actually being displayed on screen based on current IP

There was talk of adding an ‘isDebugOutputEnabled()’ function but that never happened.

At the moment I’m replicating my debug IPs in my apps but that’s… grim

yeah, file a bug, having that additional function makes a lot of sense.

Since Lucee 6.1, you can also control debugging settings via the Application.cfc

Remember that while the Application scope is shared, each request has it’s own applicationContext (application settings) so you can dynamically configure the Application configuration per request