Add debugging with VSCode (#48383)

This commit is contained in:
Tad Hardesty
2019-12-25 10:21:54 -05:00
committed by Jordan Brown
parent 198dfd91c7
commit c98644600a
2 changed files with 6 additions and 0 deletions
+5
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")()
+1
View File
@@ -19,6 +19,7 @@ GLOBAL_VAR(restart_counter)
*
*/
/world/New()
enable_debugger()
log_world("World loaded at [time_stamp()]!")