This method is called when an unsafe environment (debugger) is detected.
final VoidCallback? onDebug;