See server errors?

I have made a gamemode that works perfectly on a listen server, but on a dedicated server hosted by a third party that I have rented it… doesn’t.

Is there a way to see the server side errors the server makes? I have access to the servers rcon, ftp and the control panel provided by the owners.

Edit:

I found the answer; add -condebug to the command line and then check console.log in your servers garrysmod directory for any console output.

also add


Lua_log_sv 1

to your server.cfg and it’ll keep track of any lua errors that the server may have in console.

It’ll save it to your GM root dir as lua_errors_server.txt

Just be aware that you keep an eye on this file as it ca get to a hefty size rather quickly and in the end can be useless if not checked at regular intervals