added back --debug option, wtf