Openstack Keystone Remote Debug
1.保持两端代码同步,并安装相同版本的pydev
2.在etc/keystone/keystone.conf增加以下参数
pydev_debug_host=10.10.10.10
pydev_debug_port=5678
3.修改PATHS_FROM_ECLIPSE_TO_PYTHONofpydevd_file_utils.pyofpydev
PATHS_FROM_ECLIPSE_TO_PYTHON=[(r'/Users/xinwen/Documents/OpenStack/keystone/bin/keystone-all',r'/usr/bin/keystone-all'),
(r'/Users/xinwen/Documents/OpenStack/keystone/keystone/',r'/usr/share/pyshared/keystone/')]
各参数具体意思参见文件中的说明
4.启动“PyDev:startthepydevserver”inEclipse
5.重启keystone,"ServiceKeystonerestart"
6.如果报pydevd找不着,在keystone-all插入sys.path.append('/usr/lib/python2.7/dist-packages/pysrc')
相关推荐
  fyggzb    2020-07-05  
   fyggzb    2020-06-12  
   hhphhp    2020-01-10  
   Tomstrong    2017-11-29  
   shenycs    2015-02-03  
   bingxx    2013-08-08  
   ljwsvip    2019-07-01  
   fabian    2019-06-29  
   zuopaide    2012-05-28  
   danelumax    2017-04-20  
   AHUTSZF    2014-08-07  
   熊崽Kevin    2013-09-13  
   DiroProgrammer    2013-06-19  
   zuopaide    2013-05-19  
   熊崽Kevin    2013-05-12  
   zuopaide    2013-04-28  
   wangxuesonger    2013-08-01  
   danelumax    2013-07-31  
   zhujiehades    2013-03-22  
 