I do a lot of debugging while i’m developing my current mod, and the F8 window just doesn’t cut it. It’s too small and keeps updating with messages every few seconds, which moves the text on the window back to the end while i’m trying to read my custom debug messages. Highly frustrating!
My question is, is does anyone use another alternative debugging system, or even better, use an IDE like Intellij to debug your lua scripts?
vconsole directly connects to your client console, it has nothing to do with scripts itself, just allows you to manage your console and some additional features. Documentation isn’t great, I agree.
Once you’ve downloaded vconsole, go to bin/win64/vconsole2.exe and connect to localhost:29100 when you have your fivem client open.
That should be all there is to it.
Thanks a bunch Grandpa. I connected to my server IP(it’s not local) and port of 29000(my game connection port is 32000 but vconsole wouldn’t connect to that) and although it states it connected, nothing that is popping up in F8 is showing up in vconsole. I tried creating a second channel with all type boxes checked but still nothing shows in the console.
I can’t find any documentation on this. Anyone know what I need to do to get vconsole to show what’s going on?
Like @SaltyGrandpa said, this is for client console debugging. So you need to connect vconsole to localhost (port 29100). Then connect ingame to whatever server you want
Since I have no idea how to do that, is there a log file updated and saved on the server that I can download to scan the warnings and errors locally in a text editor?
Thanks!
[EDIT] To clarify, I started it, connected to localhost 29000 and started then played on a server in game and nothing showes in vconsole during that time.
And for server logs: on windows the server console is exported to CitizenFX.log in the server directory, on Linux you can output the console using something like | tee to some output file you want, iirc.