Xdebug CLI mode ? [message #1841454] |
Mon, 17 May 2021 10:13  |
Eclipse User |
|
|
|
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 11:12  |
Eclipse User |
|
|
|
.. 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...
|
|
|
Powered by
FUDForum. Page generated in 0.07103 seconds