To use debug commands, you have to have the game compiled in debug mode (preprocessor variable DEBUG must have been defined at compiling time)
To get a list of all debug commands, you just have to type debug_help to the game console
debug_help