Disable a debug function.