Skip to content

Commit e01dcb3

Browse files
committed
CBDEBUGGER-1 #resolve Lucee debugger no longer shows below the cbDebugger. Turn off only on Ajax Calls
1 parent 716e34e commit e01dcb3

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [3.1.0] => 2021-APR
1111

12+
### Fixed
13+
14+
* [CBDEBUGGER-1] - Lucee debugger no longer shows below the cbDebugger. Turn off only on Ajax Calls
15+
1216
### Changed
1317

1418
* [CBDEBUGGER-2] - Made `cborm` and `qb` disabled by default

handlers/Main.cfc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ component extends="coldbox.system.RestHandler" {
2121
// Global params
2222
event.paramValue( "frequency", 0 ).paramValue( "isVisualizer", false );
2323

24-
// Don't show cf debug
25-
cfsetting( showdebugoutput = "false" );
24+
// Don't show cf debug on ajax calls
25+
if( event.isAjax() ){
26+
cfsetting( showdebugoutput = "false" );
27+
}
2628

2729
// If not enabled, just 404 it
2830
if ( !variables.debuggerService.getDebugMode() ) {

0 commit comments

Comments
 (0)