Updated doc with debug instructions
This commits adds some info about how you can use debugger in ceilometer. Currently testr cannot break into debugger, you have to use alternative test runner to use it. Change-Id: Ica68da3da5d8162765a79686d29ffd8d8d9cc85f
This commit is contained in:
parent
02cf3eaed2
commit
48ff1932ce
@ -68,6 +68,13 @@ run through tox_.
|
||||
|
||||
$ tox -e py27 -- api.v2
|
||||
|
||||
To debug tests (ie. break into pdb debugger), you can use ''venv'' command::
|
||||
|
||||
$ tox -e venv "python -m unittest discover ceilometer"
|
||||
|
||||
Unfortunately, debugging currently has some limitations:
|
||||
You cannot run a specific test, you have to launch the whole test suite.
|
||||
|
||||
.. seealso::
|
||||
|
||||
* tox_
|
||||
|
Loading…
x
Reference in New Issue
Block a user