Docker on Linux allows Xdebug to automatically connect back to the host system so you can just set xdebug.remote_connect_back=1
and leave out the xdebug.remote_host
in your xdebug.ini
.
More Related Contents:
- How do you debug PHP scripts? [closed]
- While I am debugging PHP Script in Eclipse, it doesn’t load mysql extension
- How to install PHP5 in Ubuntu 16 Virtual Box guest on Windows 10 host? [closed]
- Undefined function mysql_connect()
- Increasing nesting function calls limit
- PHP Fatal error: Call to undefined function json_decode()
- Docker in MacOs is very slow
- How to disable XDebug
- Eloquent ORM Code Hinting in PhpStorm
- netbeans shows “Waiting For Connection (netbeans-xdebug)”
- Setting environment variables for accessing in PHP when using Apache
- Can’t install laravel installer via composer
- How to install pdo driver in php docker image?
- Can’t install PHPUnit via PEAR, requires PEAR Installer >= 1.9.2, can’t upgrade PEAR from 1.9.0
- How to correctly link php-fpm and Nginx Docker containers?
- mysql_real_escape_string is undefined
- Is it possible to get Ruby syntax highlighting in PHPStorm?
- How to install php-curl in Ubuntu 16.04
- php.ini changes, but not effective on Ubuntu
- How can I change php-cli version on Ubuntu 14.04?
- PHP 7 RC3: How to install missing MySQL PDO
- How to get MySql 8 to run with laravel? [duplicate]
- How to document magic (_call and _callStatic) methods for IDEs
- How to install all required PHP extensions for Laravel?
- Xdebug for remote server not connecting
- How to install extension for php via docker-php-ext-install?
- Xdebug ignores breakpoints
- PhpStorm 2020.2 – PHP Built-in functions are not recognized
- Xdebug V3 doesn’t stop breakpoints in VSCode
- PHP Timezone database is corrupt error