Below is a useful list of debugging commands and console variables. They can be used to display material names, entity info and even visualize entity IO.
| Name | Acceptable Values | Description |
|---|---|---|
| version | Print version info to console | |
| developer | 0..4 | Display different developer debugging info in console. Levels 0-4 |
| ent_text | Display advanced debugging info over entity under crosshair | |
| ent_show_contexts | 0..1 | Show entity contexts in ent_text display |
| ent_messages_draw | 0..1 | Visualizes all entity IO |
| mat_crosshair | Display material on brush under your crosshair | |
| mat_corsshair_edit | Open hit material in text editor if it's not packed | |
| mat_crosshair_explorer | Open folder containing hit material if it's not packed | |
| mat_crosshair_printmaterial | Display hit material's VMT in console | |
| mat_crosshair_reloadmaterial | Reload material under crosshair |
| Name | Acceptable Values | Description |
|---|---|---|
| vcollide_wireframe | 0..1 | Display wireframe of prop collision models |
| phys_show_active | 0..1 | Show collision models of currently simulating objects |
| phys_show_collision | 0..1 | Show collision wireframe of vphys objects |
| phys_show_shadows | 0..1 | Show physics shadows of vphys objects |