Apatanaデバッグ方法(終わり)
デバッグできたので、覚書として記述していたものを書き直しました。
1.Aptanaを起動して、
ウィンドウ→設定→PHP→デバッグにて以下を設定
2.実行→実行構成→PHPWebページを右クリックから新規を選択
3.以下を設定
- 名前 適当
- サーバー・デバッガー Xdebug
- phpサーバー +か■を押下して以下を設定
- 名前 適当
- ベースURL http://localhost
- 文書ルート デバックプロジェクトのルートフォルダ
- ファイル デバックプロジェクトフォルダのIndex
[XDebug]
zend_extension = "c:\xampp\php\ext\php_xdebug.dll"
;extension=php_xdebug-2.2.2-5.3-vc9-nts.dll
xdebug.remote_enable = on
xdebug.remote_mode = req
xdebug.remote_host = localhost
xdebug.remote_port = 9000
xdebug.remote_handler = dbgp
これで虫ボタンからデバッグが行えるはず。
どうもこれまではphp.iniの設定で、remote_modeの設定が抜けていたようです。