I am new to RapidPHP (just evaluating it), and I'm trying to test the PHP debug feature.
I saw RapidPHP can debug either with its own internal webserver or with an external one.
I first tried the internal webserver and got these problems:
- I often get a Debugger Error Code 5 (anyway, if I set up a breakpoint the error often disappears);
- if I stop the debug session by pressing the Stop button, it does not *really* stop: the Stop button, infact, is still enabled;
- if I then try to restart the script, RapidPHP does not run the script: it opens a new blank page (say, Document2);
- if I, after step 2 above, try clicking the Stop button again to really stop the debugger, I get an error within rapidphp.exe ("An error occurred in the application") which seems webserver-related (from the bug report: EIdSocketError, 10054 Connection reset by peer).
I set up these preferences/options:
= Preview > Script Preview, "Use built-in webserver" => unchecked;
= Preview > Mappings, "Use folder mappings..." => checked;
= added a Mapping from the PHP source dir to a virtual dir of my Apache;
= Debugger Settings, "Display output in Web browser" selected, "Listen to external sessions" checked.
With these settings my script works fine but RapidPHP does not stop on breakpoints.
Any suggestions? I am very impressed with RapidPHP features and would like my company to buy some copies of it, but I first need to have at least one debug method running fine.
System config:
Windows XP SP3, RapidPHP 10.2.0.121, Apache 2.2.17, PHP+xDebug 5.2.5 (from your php5xd.exe setup).
Thank you much,
Luca