vscode-gmrdb
vscode-gmrdb copied to clipboard
Launching Garry's Mod prevents extension from attaching
If instead of launching, you attach to a previously started instance of Garry's Mod, everything works fine.
Hi, I'm trying to get this working on a locally ran server to debug while I develop plugins, but so far whenever I attempt to attach to a running server the debugger simply stops. The same thing happens if I try to 'launch' srcds through the debugger instead. Do you have a Discord or anything I can contact you at for help with this? Getting desperate, debugging garry's mod is a nightmare. Thanks.
@Rakaesa when you attach to the server, does the following appear?
If so, you have to press the Continue button or press the F5 key to continue the normal execution of the server.
Hello @danielga , thank you for the quick reply!
I had not added the rdb.lua to my server, so I just tried that. After doing so, it seems to freeze my server completely during launch. I'm using 32-bit SRCDS so I have the 32 bit dll in the 'includes' folder. I also tried with the 64-bit dll for good measure which didn't work either. Any ideas?
it seems to freeze my server completely during launch
That's the module waiting for a debugger to attach, when you call rdb.activate.