I set up cakephp debugging with netbeans and xdebug following these instructions http://www.tiplite.com/cakephp-debug-in-netbeans/ . I got it working, but I cannot see any variables when I get to the breakpoints
There is an option to enable variable listing in php.ini during debugging. There is likewise an option for that in NetBeans settings, under PHP.
It is unstable, though.
来源:https://stackoverflow.com/questions/5063410/debugging-cakephp-with-netbeans-no-variables