Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Xdebug CLI mode ?(Xdebug CLI)
Xdebug CLI mode ? [message #1841454] Mon, 17 May 2021 14:13 Go to next message
Denis Bigorgne is currently offline Denis BigorgneFriend
Messages: 2
Registered: May 2021
Junior Member
Hello,

Some time ago, I worked with PHP 7.2.2 and Eclipse Oxygen.
I run everything in CLI mode, without any web server. In the Eclipse debugger configuration, there was an "Enable CLI Debug".

I update to PHP 7.4.19 and Eclipse 2021-3.
It seems there is no more CLI Debug. When I try to debug, breakpoints are not taken in account.

Is there a way to recover this simple CLI debug Mode?
Otherwise, what is the easiest way to set a Xdebug server ?
Re: Xdebug CLI mode ? [message #1841480 is a reply to message #1841454] Tue, 18 May 2021 15:12 Go to previous message
Denis Bigorgne is currently offline Denis BigorgneFriend
Messages: 2
Registered: May 2021
Junior Member
.. resolved !
Now, we need :

php.ini, this line :
xdebug.mode = debug

Eclipse Preferences/PHP/Installed PHPs/Servers
Default PHP Web Server (Workspace Default) >>> http://localhost

Eclipse Preferences/PHP/Debug
PHP Server >>> Default PHP Web Server

Eclipse Preferences/PHP/Debug/Debuggers/
Xdebug / Configure / Debug Port 9003

Maybe useful to newbies...
Previous Topic:PHP generics support in Eclipse
Next Topic:PHP Server on Elcipse
Goto Forum:
  


Current Time: Thu Dec 08 10:55:53 GMT 2022

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

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

Back to the top