Add --debug-warnings cli flag to raise warnings to errors
Catch raised warnings and print traceback without exiting