Here I show how to debug YII PHP application in Eclipse IDE.
Go to Window -> Preferences -> PHP -> Debug
Select PHP Debugger: XDebug
Then add PHP Executables
Give path to php.exe
Then add a break point.
Right click on your index file and select Debug as.
Now you can inspect or watch values.
My favorite PHP debugger is Codelobster
ReplyDelete