<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Xdebug on 瓶子裡的小狐狸</title>
    <link>https://szeching.com/tags/xdebug/</link>
    <description>Recent content in Xdebug on 瓶子裡的小狐狸</description>
    <generator>Hugo</generator>
    <language>zh-Hant</language>
    <lastBuildDate>Tue, 13 Apr 2021 11:14:00 +0000</lastBuildDate>
    <atom:link href="https://szeching.com/tags/xdebug/rss" rel="self" type="application/rss+xml" />
    <item>
      <title>XDebug升級更新配置</title>
      <link>https://szeching.com/upgrading-xdebug-settings-from-2-to-3/</link>
      <pubDate>Tue, 13 Apr 2021 11:14:00 +0000</pubDate>
      <guid>https://szeching.com/upgrading-xdebug-settings-from-2-to-3/</guid>
      <description>&lt;p&gt;不知不覺中，XDebug 已經是Version 3 了！&lt;/p&gt;&#xA;&lt;p&gt;根據官方文檔 &lt;a href=&#34;https://xdebug.org/docs/upgrade_guide&#34; target=&#34;_blank&#34;&gt;https://xdebug.org/docs/upgrade_guide&lt;/a&gt; ，之前XDebug 2 的配置 (/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini )如下所示：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&lt;/span&gt;&lt;span&gt;xdebug.remote_connect_back=0&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;2&lt;/span&gt;&lt;span&gt;xdebug.remote_autostart=1&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;3&lt;/span&gt;&lt;span&gt;xdebug.remote_enable=1&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;4&lt;/span&gt;&lt;span&gt;xdebug.remote_host=&amp;#34;host.docker.internal&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;5&lt;/span&gt;&lt;span&gt;xdebug.remote_port=9001&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;6&lt;/span&gt;&lt;span&gt;xdebug.idekey=PHPSTORM&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;7&lt;/span&gt;&lt;span&gt;memory_limit = 1024M&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;8&lt;/span&gt;&lt;span&gt;xdebug.remote_log=&amp;#34;/tmp/xdebug.log&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;需要改成這樣(v3)：&lt;/p&gt;</description>
    </item>
    <item>
      <title>Docker容器内PHP项目使用Visual Studio Code配置XDebug</title>
      <link>https://szeching.com/setup-xdbug-on-vscode-when-project-run-on-docker/</link>
      <pubDate>Tue, 10 Apr 2018 10:14:28 +0000</pubDate>
      <guid>https://szeching.com/setup-xdbug-on-vscode-when-project-run-on-docker/</guid>
      <description>&lt;p&gt;以下VSCODE XDEBUG 配置文件使用场景：项目在docker内运行（docker内项目位置为/var/www/html），项目代码映射在docker外，vscode编辑器安装在docker外。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
