xdebug works, but I get a message every time.
hello.
I trying setup xdebug.
The debugger is indeed now working, as shown in the following picture.
However, the error occurs every time because something is not set in the path, as shown in the figure below.


I will be using localhost, so there should be no need to configure it to use "path mapping". What can I do to prevent this popup from appearing
[xdebug]
zend_extension="C:\php\ext\php_xdebug.dll"
xdebug.mode=debug
xdebug.client_host=localhost
xdebug.start_with_request=yes
xdebug.client_port=9003
请先登录再写评论。
Hi there,
You may see this message if the code that was executed in that request did not had any active breakpoints. E.g you have breakpoints in one controller but the code executed is in another controller (quite common case: 404 handler)
Anyway: that message can be disabled: Settings (Preferences on macOS) | PHP | Debug | Notify if debug session was finished without being paused
P.S. With your settings ( xdebug.start_with_request=yes in particular) Xdebug will try to debug every single request. Perhaps you can use a bit different settings and trigger the debug only when needed? (e.g. by using Xdebug browser helper that sets/removes Xdebug cookie (works for web page debug))
Thank you. I decided not to pay special attention to this popup.
The following text was useful :)
> E.g you have breakpoints in one controller but the code executed is in another controller
The current configuration is as follows