'Trial uses its debugger if the `--debug` option is passed.'

def test_runnerDebug(self):

    self.parseOptions(['--reporter', 'capturing', '--debug', 'twisted.trial.test.sample'])
    my_runner = self.getRunner()
    debugger = my_runner.debugger = CapturingDebugger()
    result = self.runSampleSuite(my_runner)
    self.assertEqual(self.standardReport, result._calls)
    self.assertEqual(['runcall'], debugger._calls)
