adding sourcemap support via --debug flag