Add
live_function_add("show_debug_message(str, ...)", show_debug_message)
to the end of obj_gmlive’s Create event.
Bingo! Thank you very much.