Hello, I'm trying to use the vscode-lrdb tool. I've followed the guide at the Github page: https://github.com/BeamNG/vscode-lrdb/blob/master/Readme_BeamNG.md, but when I attach the debugger in VSCode, it works for half a second, then disconnects. Output of Debug Console: Debugger connecting to localhost:21110 ... Debugger disconnected. Video of what happens: Am I doing something wrong?
oh crap, not good.I'll have a look! What does the beamng.log file say about this? Did you start the game with -luadebug ?
I ran the game binary with -luadebug -attachonstart flags. beamng.log says nothing about this at all.
The command line arguments are actually case sensitive so you need to run the game with: Code: -luadebug -attachOnStart