How to remote debug neutron? [closed]

asked 2016-07-06 21:55:36 -0600

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 reopen merge delete

Closed for the following reason duplicate question by uts9
close date 2016-07-06 23:07:11.701913