Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » eclipse and xdebug not working together(Running a php program in console hangs when xdebug in on debug)
eclipse and xdebug not working together [message #1872761] Mon, 18 November 2024 09:04
Eclipse UserFriend
Greetings,

When xdebug is on debug and eclipse is running it is not possible to execute any php program (like composer, my cli project, etc) from the console. The console just does not show any output. When I restart eclipse or end it, it runs through. Neither the eclipse console nor the xdebug log show any error message.

eclipse is configured to listen on port 9003 on localhost.

Running on gentoo with php 8.2, eclipse the same for 2024.6 and 2024.9.

My xdebug.ini
zend_extension=xdebug.so
xdebug.mode=debug,coverage,develop
xdebug.remote_autostart=1
xdebug.remote_enable=1
xdebug.remote_port=9003
xdebug.start_with_request=1
xdebug.log_level=11
xdebug.log=/tmp/xdebug.log

I even tried a fesh eclipse install with a fresh workspace. At the moment debugging is de facto not possible. Any ideas? Any informations I can provide?

Thank you
Klaus

Addition:
I played a little bit with the configuration. When switching "Accept remote session (JIT)" to prompt (preferences->php->Debuggers->xdebug eclipse asks if I want to start a debug session and after that nothing more happens

[Updated on: Tue, 19 November 2024 09:01] by Moderator

Previous Topic:How can I see the command line from the Eclipse IDE
Goto Forum:
  


Current Time: Fri Mar 21 20:39:52 EDT 2025

Powered by FUDForum. Page generated in 0.03556 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top