<tt><font size=2>Link to the docs for the debugger script:</font></tt>
<br><tt><font size=2>  </font></tt><a href="http://docs.openstack.org/developer/oslotest/features.html#debugging-with-oslo-debug-helper"><tt><font size=2 color=blue>http://docs.openstack.org/developer/oslotest/features.html#debugging-with-oslo-debug-helper</font></tt></a>
<br>
<br><tt><font size=2>We have support for it in some of the Keystone related
projects and folks</font></tt>
<br><tt><font size=2>seem to find it useful. If may not fit your needs,
but as Ben suggested,</font></tt>
<br><tt><font size=2>give it a whirl, it should help.</font></tt>
<br>
<br><tt><font size=2>Steve</font></tt>
<br>
<br><tt><font size=2>Ben Nemec <openstack@nemebean.com> wrote on
12/01/2014 01:19:17 PM:<br>
<br>
> From: Ben Nemec <openstack@nemebean.com></font></tt>
<br><tt><font size=2>> To: "OpenStack Development Mailing List
(not for usage questions)" <br>
> <openstack-dev@lists.openstack.org></font></tt>
<br><tt><font size=2>> Date: 12/01/2014 01:25 PM</font></tt>
<br><tt><font size=2>> Subject: Re: [openstack-dev] How to debug test
using pdb</font></tt>
<br><tt><font size=2>> <br>
> I don't personally use the debugger much, but there is a helper script<br>
> that is supposed to allow debugging:<br>
> </font></tt><a href=https://github.com/openstack/oslotest/blob/master/tools/oslo_debug_helper><tt><font size=2>https://github.com/openstack/oslotest/blob/master/tools/oslo_debug_helper</font></tt></a><tt><font size=2><br>
> <br>
> On 11/30/2014 05:08 AM, Saju M wrote:<br>
> > Hi,<br>
> > <br>
> > How to debug test using pdb<br>
> > <br>
> > I want to debug tests and tried following methods, but didn't
work<br>
> > (could not see pdb> console).<br>
> > I could see only the message "Tests running..." and
command got stuck.<br>
> > <br>
> > I tried this with python-neutronclient, that does not have run_test.sh<br>
> > <br>
> > Method-1:<br>
> > #source .tox/py27/bin/activate<br>
> > #.tox/py27/bin/python -m testtools.run<br>
> > <br>
> neutronclient.tests.unit.test_cli20_network.CLITestV20NetworkJSON.test_create_network<br>
> > <br>
> > Method-2:<br>
> > #testr list-tests '(CLITestV20NetworkJSON.test_create_network)'
> my-list<br>
> > #python -m testtools.run discover --load-list my-list<br>
> > <br>
> > <br>
> > <br>
> > <br>
> > <br>
> > _______________________________________________<br>
> > OpenStack-dev mailing list<br>
> > OpenStack-dev@lists.openstack.org<br>
> > </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><tt><font size=2>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></tt></a><tt><font size=2><br>
> > <br>
> <br>
> <br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> OpenStack-dev@lists.openstack.org<br>
> </font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><tt><font size=2>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></tt></a><tt><font size=2><br>
> <br>
</font></tt>