scrapy/scrapy — pull request #242 by darkrho (2013-02-11 16:50:49+00:00)
Title: added --pdb command option to enable pdb debugger on failure.

This just enable twisted's debug feature on failure objects.

A test for this feature it would go like twisted's tests does:
https://github.com/twisted/twisted/blob/master/twisted/test/test_failure.py#L543

As I haven't seen a similar test in scrapy for options-only I didn't knew if it was worth to add a test.