Add command line support.

It's now possible to start a debug session directly from command line.