Files
Yogstation/code/_debugger.dm
2022-05-26 08:52:58 +10:00

14 lines
488 B
Plaintext

//Datum used to init Auxtools debugging as early as possible
//Datum gets created in master.dm because for whatever reason global code in there gets runs first
//In case we ever figure out how to manipulate global init order please move the datum creation into this file
/datum/debugger
/datum/debugger/New()
enable_debugger()
/datum/debugger/proc/enable_debugger()
var/dll = world.GetConfig("env", "AUXTOOLS_DEBUG_DLL")
if (dll)
call(dll, "auxtools_init")()
enable_debugging()