This article's documentation is for anything that uses the Source engine. Click here for more information.

Debug Menu: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Nesciuse moved page Debug Menu/en to Debug Menu without leaving a redirect: Move en subpage to basepage)
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
 
Line 7: Line 7:
[[File:Debugsystemui.png|400px|right]]
[[File:Debugsystemui.png|400px|right]]
{{warning|Enabling certain options like MatSys > Software Lighting can cause the game to crash.}}
{{warning|Enabling certain options like MatSys > Software Lighting can cause the game to crash.}}
{{bug|Does not draw over video backgrounds like Portal 2's main menu.}}
{{bug|hidetested=1|Does not draw over video backgrounds like Portal 2's main menu.}}
{{note|Some games may not include the scripts/debugoptions.txt which cause the Debug Menu UI to be broken, copy it from any other Source game (example: {{hl2|4}}) and paste it into the same directory on a game that have the broken Debug UI.}}
{{note|Some games may not include the scripts/debugoptions.txt which cause the Debug Menu UI to be broken, copy it from any other Source game (example: {{hl2|4}}) and paste it into the same directory on a game that have the broken Debug UI.}}



Latest revision as of 07:18, 20 May 2025

English (en)Translate (Translate)


The Debug Menu are present (in all games since Source 2007 Source 2007) except in Counter-Strike: Global Offensive Counter-Strike: Global Offensive. It can be shown by pressing Shift + F1 or by typing "debugsystemui" in the Console.

Debugsystemui.png
Warning.pngWarning:Enabling certain options like MatSys > Software Lighting can cause the game to crash.
Icon-Bug.pngBug:Does not draw over video backgrounds like Portal 2's main menu.
Note.pngNote:Some games may not include the scripts/debugoptions.txt which cause the Debug Menu UI to be broken, copy it from any other Source game (example: Half-Life 2 Half-Life 2) and paste it into the same directory on a game that have the broken Debug UI.

Contains a few debugging options that run commands in the console.

The file is located here: 🖿scripts/debugoptions.txt and can be modified.