DebugMain now takes parameters.