Debugging / Testing

There are different ways to test your Lua-Scripts in BeamNG.drive: In this article we describe how you can test Lua commands in BeamNG or use them for scenarios.

BeamNG Debugging by Console:

../../_images/console_open.png

To open the Console, just press the button: ´ . Sometimes with different keyboard-Layouts, it could be at other buttons. For example in Germany its ö or in Norway its Ø. If you still can’t find it, look in the “Settings”: settings_icon and press the tab: controlls_icon. There you can find the Tab General Debug (See below) and see the Item “Toggle System Console”. Here you can change the key to open the console.:

../../_images/settings_console_icon.png