Closed Bug 477269 Opened 16 years ago Closed 16 years ago

runtests.py should have a --debug option to run the browser in a debugger

Categories

(Testing :: Mochitest, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 480279

People

(Reporter: ted, Unassigned)

Details

Currently debugging Mochitests means that you have to run runtests.py, then attach a debugger, then run the test you want to run. It would be nice if you could just say `runtests.py --debug`, and runtests.py would start the browser in a debugger for you. This would make it very easy to debug a test by doing `runtests.py --debug --autorun --test-path=foo`. In addition, we should probably provide an arbitrary --run-with command for things like valgrind.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.