Display a debug message to the console and log it.
This function also integrates with debugUtils to output logs when at debug level.
Note: There is also a dedicated debug() function in debugUtils for more detailed logging.
Parameters
message: string|Error|undefined
The message to display (string, Error, or undefined)
Display a debug message to the console and log it. This function also integrates with debugUtils to output logs when at debug level. Note: There is also a dedicated debug() function in debugUtils for more detailed logging.