|Setting up Eclipse to debug PHP (with WAMP & Xdebug) for Joomla! and web applications [message #1815657]
||Tue, 08 October 2019 04:58
| DI V
Registered: October 2019
Apologies for cross-posting. |
I have posted a query at https://www.eclipse.org/forums/index.php/m/1815656/ regarding setting up Eclipse to debug PHP (with WAMP & Xdebug) for Joomla! and web applications.
I was confused about the correct port settings, the ability of Eclipse to find my Xdebug installation, and the correct option(s) to specify to run or debug a PHP file.
After my initial post I was wondering whether maybe the run/debug options I chose before were inappropriate for PHP wrapped in HTML. I had not initially chosen "Run As > PHP Web Application", because my test file is not much more than a hello-world example -- nothing that I would have normally thought of as a full-blown "application". [EDIT: It seems that in previous releases of Eclipse the equivalent command was named "Run As > PHP Web Page".]
But when I view the Eclipse help at 'Working with the Debugger' it seems I don't need to do anything special merely because my PHP code is wrapped in HTML, as per the helpfile example at 'Debugger Code (Local)'.
I'd appreciate any advice on what I'm doing right and what I'm doing wrong. Please refer to original post for full background details.
[Updated on: Wed, 09 October 2019 06:13]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01897 seconds