Getting error in XDEBUG

与世无争的帅哥 提交于 2019-12-08 00:44:29

问题


I just installed xdebug on my eclipse PDT installation and now I am getting the following error when trying to debug my PHP code using XDEBUG on my local debian box:

web launch already running

2 questions:

  1. How can I kill this within Eclipse without getting out of Eclipse all together?
  2. Is there an additional configuration setting that needs to be set that were not in my instructions?

Any help/direction would be appreciated as I'm at the point where I'm starting to pull my hair out. Thanks!

Here is what I added to my php.ini file in the Dynamic Extensions section per instructions:

;load module
zend_extension="/usr/lib/php5/20090626+lfs/xdebug.so"

;some options
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req

;The following IP should be of the host running Eclipse!
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.idekey=

;Only enable the following if you want profiler output (lots of data!)
;xdebug.profiler_enable=1
;xdebug.profiler_output_dir=/var/log/XDebug/
;xdebug.profiler_enable_trigger=1

回答1:


"Web Launch Already Running"
It means that you have started the debug session already and it is not being terminated yet.
Open 'Debug' perspective and see 'Debug' tab, select 'PHP Web Application' and click 'Terminate'(red square) button.



来源:https://stackoverflow.com/questions/10438910/getting-error-in-xdebug

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!