I have setup Xdebug for some remote debugging, and it works. Sadly it seems to break all of my tests.
This is the config:
xdebug.mode = debug
xdebug.client_port = 10001
xdebug.start_with_request = true
xdebug.idekey = mykey
xdebug.discover_client_host = true
I can connect just fine and step debug... but whenever I try running any PHP command on the CLI (tests for instance) I get this error for every single test (which makes all tests return an error):
Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:10001 (fallback through xdebug.client_host/xdebug.client_port) :-(
I am running this on Ubuntu 20.04