2 messages · Page 1 of 1 (latest)
For some reason I can't get globals to register for vscode debugger. Code example posted as image.
if there's a way to do this, would be nice so i could debug maps and players and such at runtime :)
The error mentions global.tmc.admins, not globalThis.tmc..., so you might want to do something like ((globalThis || global) as any).tmc = tmc;