How do i use the debug menu i have been trying to access it, but it says invalid command

You have to bind a key to the debug menu first.

Bring up the Help menu by hitting ?, then bring up the list of commands by hitting 1.

You can bind the debug menu to any key you like, I generally bind it to `.

Have fun!

[size=8pt]You cheating bastard.[/size]