Getting error in XDEBUG

2019-05-18 14:57发布

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条回答
欢心
2楼-- · 2019-05-18 15:33

"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.

查看更多
登录 后发表回答