9月 222012
PHP デバッカーを使ってデバックしたい!
http://mergedoc.sourceforge.jp/
より Eclipse 3.7 Ultimate をダウンロード
解凍ソフト注意
http://mergedoc.sourceforge.jp/#pleiades.html
c:\pleiades-e3.7 に解凍
コマンドプロンプトより
cd \pleiades-e3.7\xampp
setup_xampp.bat 実行
xampp-control-3-beta.exe で config ボタンより apache.conf 修正
apache の設定変更(なんか自動でやってくれない?)
C:\pleiades-e3.7\xampp>apache\conf\httpd.conf
# 以下の設定で、実際のフォルダとウェブのフォルダを定義する。
# Add PHP_test フォルダ
<IfModule alias_module>
Alias /PHP_test/ "c:/pleiades-e3.7/workspace/PHP_test/"
<Directory "c:/pleiades-e3.7/workspace/PHP_test">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</IfModule>
xampp-control-3-beta.exe で config ボタンより php.ini 修正
C:\pleiades-e3.7\xampp\php\php.ini
xdebug.remote_enable = 1
xampp-control-3-beta.exe で apache を開始
PHP_test プロジェクト作成
newfile.php 追加
デバック構成より
ファイルを指定
/PHP_test/newfile.php
[デバック]ボタンクリックで行単位のデバックが出来る
今度はリモートデバックだ~!!!