Orion currently has no built in debugging support, apart from some basic commands in the shell page. You can use Eclipse for debugging server side code, and your browser's dev tools for debugging client side code (Firebug and Chrome dev tools are both pretty good).