added --debug option (does not do much atm, just for potential future debugging support )