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
(Added screenshot of the debug UI, a info and a warning template.)
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The '''Debug Menu''' are present in all games except in {{csgo|4}}.
{{LanguageBar}}
{{Source topicon}}
 
 
The '''Debug Menu''' are present {{since|{{src07|4}}}} except in {{csgo|4}}.
It can be shown by pressing Shift + F1 or by typing "<code>debugsystemui</code>" in the Console.
It can be shown by pressing Shift + F1 or by typing "<code>debugsystemui</code>" in the Console.
[[File:Debugsystemui.png|400px|right]]
[[File:Debugsystemui.png|400px|right]]
{{ModernWarning|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.}}
{{ModernBug|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.}}
{{ModernNote|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.}}


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


The file can be modified scripts/debugoptions.txt
The file is located here: {{path|scripts/debugoptions|txt}} and can be modified.

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.