Help us understand the problem. What is going on with this article?

PHPStormでステップ実行(Docker For Mac(Windows)環境)

More than 1 year has passed since last update.

Docker For Mac(Windows)環境でPHPStormでステップ実行

参考:PHPStormでステップ実行(Docker Toolbox環境)

Docker Toolbox環境の場合は、PHP Stormに対するIPアドレスがデフォルトで192.168.99.100になりますが、Docker For Mac(windows)では127.0.0.1になってしまうため、コンテナ内から9000番ポートでアクセスできません。



xdebug.remote_enable = On
xdebug.remote_port = 9000
;xdebug.remote_autostart = On
xdebug.remote_host = host.docker.internal
xdebug.profiler_output_dir = "/tmp"
xdebug.max_nesting_level= 1000
xdebug.idekey = "PHPSTORM"
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away