Ask Your Question

How to remote debug neutron?

asked 2016-07-06 21:55:58 -0500

kramer gravatar image


I am trying to do remote debug on neutron to know some internal details. Below are my env and my questions.


Neutron run on a few CentOS7 nodes. The version is mitaka

My PC is windows10.

My IDE is pycharm 5


I use pydved to do the remote debug. I have used this package many times before and it works very well. What i do is to put below code into the neutron code.

import pydevd
pydevd.settrace('10.**.**.18', port=11111, stdoutToServer=True, stderrToServer=True)

The 10...18 is my PC address.

What I am expecting is that if some API request run into these two line, it will stuck and send the execution information to my IDE. So I can debug.

But the problem is :

The code did stuck at the line as expected. But it does not send execution to my IDE. So I can not debug

Does anyone has done this before? Please share your way or tell me if I missed some part.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-07-11 02:39:19 -0500

kramer gravatar image

I solved this. (

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-07-06 21:55:58 -0500

Seen: 198 times

Last updated: Jul 11 '16