diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2015-12-18 13:00:43 +0100 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2015-12-18 13:00:43 +0100 |
commit | dfbf1b2205a50d887b85645dd1b78535250f40e5 (patch) | |
tree | 66bf2556c2b81e6a70287f37062988898cccc625 /bin | |
parent | 8dc32aeedb569400dffdd352ae7dcbeaa6c43635 (diff) | |
parent | 3198522a7f2dab6bee33bb3be3d3738fe8c7c1f9 (diff) | |
download | spack-dfbf1b2205a50d887b85645dd1b78535250f40e5.tar.gz spack-dfbf1b2205a50d887b85645dd1b78535250f40e5.tar.bz2 spack-dfbf1b2205a50d887b85645dd1b78535250f40e5.tar.xz spack-dfbf1b2205a50d887b85645dd1b78535250f40e5.zip |
Merge branch 'develop' of https://github.com/alalazo/spack into packages/tau
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/spack | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -89,6 +89,8 @@ spec expressions: parser.add_argument('-d', '--debug', action='store_true', help="Write out debug logs during compile") +parser.add_argument('-D', '--pdb', action='store_true', + help="Run spack under the pdb debugger") parser.add_argument('-k', '--insecure', action='store_true', help="Do not check ssl certificates when downloading.") parser.add_argument('-m', '--mock', action='store_true', @@ -159,5 +161,8 @@ def main(): if args.profile: import cProfile cProfile.run('main()', sort='tottime') +elif args.pdb: + import pdb + pdb.run('main()') else: main() |