How to debug Neutron using Eclipse
I have installed openstack grizzly version using devstack script successfully (Installed Path is /opt/stack/). Also, I have made eclipse IDE dev environment with quantum as pydev project at /root/openstack/GIT/neutron dir
Using pydev debugger I have kept a breakpoint the file /root/openstack/GIT/neutron/bin/quantum-server
import eventlet
eventlet.monkey_patch(os=False, thread=False)
import os
import sys
sys.path.insert(0, os.getcwd()) <<<<<<<<<<<<<< Break point here
from quantum.server import main as server
server()
I have started debugging, it hit the break point in the file /root/openstack/GIT/neutron/bin/quantum-server and when I am doing step by step execution, I have observed that it started referring files from the path /opt/stack/neutron directory which is not in the project work space. Can anyone please let me know what I am missing here?