Last active
November 13, 2015 00:42
-
-
Save s-hiroshi/7636a487be54ac47712b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HomebrewでインストールしたPHP5.6のビルトインサーバーをPhpStormでデバッグする手順です。 | |
| * Xdebugはインストール済みであることを前提とします。 | |
| * MacOSでターミナルを利用します。 | |
| # Xdebugの設定ファイルを見つける | |
| $ php --info | "grep \.ini" | |
| # Xdebug設定ファイル編集 | |
| $ vi /usr/local/etc/php/5.6/conf.d/ext-xdebug.ini | |
| [xdebug] | |
| zend_extension="/usr/local/opt/php56-xdebug/xdebug.so" | |
| xdebug.remote_enable=1 | |
| xdebug.remote_port="9000" | |
| xdebug.profiler_enable=1 | |
| xdebug.profiler_output_dir="/path/to/your/tmp" | |
| 参考 | |
| https://www.jetbrains.com/phpstorm/help/configuring-xdebug.html | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
