2.0b1: Using -d in the command line or doing a "debug ON" in the command line client throws a NPE. Will attach a possible patch.
Created attachment 11076 [details] Possible patch against a NPE when setting debug on
The problem seems to be that you are not connected to the server. Anyway, fixed this...