File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ export const defaultHeaderLogo: string[] = [
218218export const defaultMaxScanLength : number = 100 ;
219219
220220/** @brief Global debug mode flag for development and troubleshooting */
221- export const enableDebug : boolean = true ;
221+ export const enableDebug : boolean = false ;
222222
223223// ============================================================================
224224// Behavioral Feature Toggles
Original file line number Diff line number Diff line change @@ -734,6 +734,9 @@ class Log {
734734 * GUI notification level (Gui.debug method) rather than console level.
735735 */
736736 debug ( message : string , searchDepth : number | undefined = undefined ) {
737+ if ( this . LI . debugEnabled ( ) === false ) {
738+ return ;
739+ }
737740 let final : string = "" ;
738741 final += this . LI . getDatetime ( ) + " " ;
739742 final += CodeConfig . get ( "extensionName" ) + " " ;
You can’t perform that action at this time.
0 commit comments