My XDebug works fine on my local machine (my apache works locally) and I can fine-tune php scripts using eclipse. However, I prefer to edit files with emacs, so I came across the GEBEN package. I installed it perfectly and I can set breakpoints in my script and everything seems to work fine ...
Now I'm trying to debug the cakePHP application, and I need to set breakpoints in files other than the file loaded in emacs when geben starts. Here's what happens:
- I am running my web server, php and all that.
- I run emacs and run the Mx geben command. He tells me that he is now listening on port 9000
- I am viewing the page I want to go to (
http://url?XDEBUG_SESSION_START) - The initial PHP file is loaded into emacs, and I can set breakpoints, step over, etc.
How to set breakpoints in files that are included from this PHP source file? I tried to open the files and start the small geben mode, but when I run the command geben-set-breakpoint-line, nothing happens.
Did I miss something?
source
share