0

I installed PhpStorm and my debugging (Xdebug) in it. I use XAMPP 7.4.1.

It works well, but I have the problem, that if I click on "Start Listening for php debug connections" then my connection to localhost (and PhpMyAdmin) does not work any more. After stopping the "Listening" the connection to localhost works fine again.

Is there a way to connect localhost while debugging process?

LazyOne
  • 158,824
  • 45
  • 388
  • 391
Cap
  • 57
  • 7
  • 1
    Sounds like it is connecting just fine. Make a log by setting in php.ini: xdebug.remote_log=/tmp/xdebug.org, and then tail -f /tmp/xdebug.org it to see what happens on the wire. – Derick Jan 15 '20 at 10:17
  • Collect and provide Xdebug log + post your Xdebug settings (Xdebug section of `phpinfo()` output captured via browser) – LazyOne Jan 15 '20 at 11:25
  • What were you expecting? Do you see that IDE is trying to accept an incoming debugging connection when you're loading localhost sites? – Dmitrii Jan 15 '20 at 13:42

1 Answers1

0

I had the same problem and found two similar questions that may be useful to solve it. You can either:

  1. Ignore debugging on phpmyadmin files by using Skipped Paths (Disable xDebug on phpMyAdmin)

  2. Disable the several 'force break at the first line...' checks in order to don't start debugging until phpStorm finds a breakpoint in your code (How to stop xdebug from stopping on first line with PhpStorm?)

I hope the answers that I have referenced help you.