This reverts commit c315404db80c92a695531b0aa4bcf61c125a3bff, reversing changes made to b00583bd4e7169a6b952633df718268904f2bd0c. Source-Repo: https://github.com/servo/servo Source-Revision: 47d6d958f58f5011742a18abcdd5a76bf4390966
*See individual commits for more information* Source-Repo: https://github.com/servo/servo Source-Revision: c315404db80c92a695531b0aa4bcf61c125a3bff
Borrows two python modules from mozilla-central to give mach the ability to detect and pass arguments to a system's preferred debugger, and adds `--debug` and `--debugger` flags to `./mach run`. This works almost like the functionality described [here](https://developer.mozilla.org/en-US/docs/Debugging_Mozilla_with_gdb), but at the moment it lacks a `--debugparams` argument. Links to borrowed files: http://hg.mozilla.org/mozilla-central/file/c9cfa9b91dea/testing/mozbase/mozinfo/mozinfo/mozinfo.py http://hg.mozilla.org/mozilla-central/file/c9cfa9b91dea/testing/mozbase/mozdebug/mozdebug/mozdebug.py Source-Repo: https://github.com/servo/servo Source-Revision: 989efd5a2820a152c5d5a2d42c9be3c30d79f469