Skip to main content



      Home
Home » Newcomers » Newcomers » Debugging HTML/PHP Projects
Debugging HTML/PHP Projects [message #1422884] Sat, 13 September 2014 11:01 Go to next message
Eclipse UserFriend
I am fairly new to PHP development and am having a hard time debugging HTML pages which are linked to PHP pages. I can debug straight PHP with XDebug with no issues whatsoever.

Here's an example: Project_001 has the files: Form.html and Response.php.

Form.html contains a form whose fields is used by Response.php. (I am using Apache2). Anyhow, I can't seem to find an elegent way to open up form.html within Eclipse. I can manually copy the file url (localhost/Project_001/form.html) into a browser and it will trip the break point within the PHP file but some of my path names are quite long. If I try to open the HTML file with the internal/external browser it just opens the HTML file and not the file on the server.

Any help with this would be greatly appreciated.

- Greg
Re: Debugging HTML/PHP Projects [message #1422908 is a reply to message #1422884] Sat, 13 September 2014 11:50 Go to previous message
Eclipse UserFriend
On 09/13/2014 09:01 AM, G.E. Hatt wrote:
> I am fairly new to PHP development and am having a hard time debugging
> HTML pages which are linked to PHP pages. I can debug straight PHP with
> XDebug with no issues whatsoever.
> Here's an example: Project_001 has the files: Form.html and Response.php.
> Form.html contains a form whose fields is used by Response.php. (I am
> using Apache2). Anyhow, I can't seem to find an elegent way to open up
> form.html within Eclipse. I can manually copy the file url
> (localhost/Project_001/form.html) into a browser and it will trip the
> break point within the PHP file but some of my path names are quite
> long. If I try to open the HTML file with the internal/external browser
> it just opens the HTML file and not the file on the server.
> Any help with this would be greatly appreciated.
>
> - Greg

There's an Eclipse PDT forum where you'll meet folk who live and breathe
Eclipse and PHP.

Cheers
Previous Topic:New to Eclipse: Specified JRE does not exist
Next Topic:Eclipse is annoying me !
Goto Forum:
  


Current Time: Sat Jul 05 00:09:53 EDT 2025

Powered by FUDForum. Page generated in 0.10456 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top