ansible/ansible — pull request #657 by bradobro (2012-07-23 13:57:39+00:00)
Title: Hacked test-module to call rudimentary debugger on module.

Simple way to call a debugger on a module.

hacking/debug-module uses /usr/bin/pdb by default, but checks environment ANSIBLE_DEBUGGER for override.

Steals code from test-module to insert module_common.py.