Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Debugging HTML/PHP Projects
Debugging HTML/PHP Projects [message #1422884] Sat, 13 September 2014 15:01 Go to next message
G.E. Hatt is currently offline G.E. HattFriend
Messages: 2
Registered: December 2013
Junior Member
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 15:50 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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: Tue Oct 22 16:47:42 GMT 2019

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

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

Back to the top