Back to Devilutionx

Debug

docs/debug.md

1.5.51.2 KB
Original Source

Introduction

If you compile the game in debug, you have multiple debug features available.

Debug commands

In-game you have the possibility to use the chat to trigger debug commands. This is currently a replacement for a console.

CommandDescription
helpShows a list of all debug commands with descriptions.
godToggles godmode.
...For the other commands see help ingame and there are a lot.

Tip: Debug commands are also supported in quick messages. If you need a debug command frequently, put it in a quick message. :wink:

Command-line parameters

CommandDescription
+Executes a debug command when loading the first game. For example +god or +changelevel 1 +spawn 4 skeleton.
-fDisplay frames per second.
-iDisable network timeout.
-nDisable startup video.

In-game hotkeys

HotkeyDescription
ShiftWhile holding, you can use the mouse to scroll screen.
mPrint debug monster info.
MSwitch current debug monster.
xToggles DebugToggle variable. DebugToggle is a generic solution for temporary toggles needed for debugging.