<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takapi86</author_name>
  <author_url>https://blog.hatena.ne.jp/takapi86/</author_url>
  <blog_title>takapiのブログ</blog_title>
  <blog_url>https://takapi86.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>PHPのデバッグには、Xdebugを使っていますが、いつも設定の仕方を忘れてしまうのでメモしておきます。 環境 Mac Docker(Docker Desktop for Mac, Docker Machineどちらでも) PhpStorm Docker側の設定 peclでXdebugをインストールします。 Dockerfileに以下の内容を追加し、xdebugをインストールします。 RUN pecl install xdebug php.iniに以下の内容を追加します。 [xdebug] zend_extension=&quot;/usr/lib64/php/modules/xdebug.so&quot; # …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakapi86.hatenablog.com%2Fentry%2F2020%2F01%2F01%2F184610&quot; title=&quot;Docker + PhpStorm 環境でXdebugのリモートデバッグが使えるようにするためのメモ - takapiのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-01-01 18:46:10</published>
  <title>Docker + PhpStorm 環境でXdebugのリモートデバッグが使えるようにするためのメモ</title>
  <type>rich</type>
  <url>https://takapi86.hatenablog.com/entry/2020/01/01/184610</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
