Merge pull request #10920 from Arturlang/debbuging

Adds vscode debbuging
This commit is contained in:
Ghom
2020-02-06 20:33:21 +01:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@@ -11,3 +11,8 @@
#define SHOULD_CALL_PARENT(X)
#define UNLINT(X) X
#endif
/world/proc/enable_debugger()
var/dll = world.GetConfig("env", "EXTOOLS_DLL")
if (dll)
call(dll, "debug_initialize")()

View File

@@ -8,6 +8,7 @@ GLOBAL_LIST(topic_status_cache)
//This happens after the Master subsystem new(s) (it's a global datum)
//So subsystems globals exist, but are not initialised
/world/New()
enable_debugger()
log_world("World loaded at [TIME_STAMP("hh:mm:ss", FALSE)]!")