Debugging a project with html, js and php files [message #549807] |
Wed, 28 July 2010 04:17 |
Sameer Messages: 5 Registered: July 2010 |
Junior Member |
|
|
I have a project containing the files index.html, javascript.js, and server.php
The index.html file includes the javascript file, which uses Ajax to call server.php (using the POST method).
The goal is to debug the php code.
Is there any place where I can read what debug configurations I should be using? The following is my experience thus far:
when I right-click on the project, then do Debug As | Debug on Server, I get a dialog to select the server type, in which I make the following choices:
Server type = HTTP Server
Server's host name = localhost
Server name = http server at localhost
Server runtime environment = http server
Then, when I click finish, I get a dialog saying that the server is not in debug mode. I choose the "switch mode" option, then click OK.
However the debugger does not start, and the breakpoints in the PHP code are ignored.
Any suggestions will be appreciated. Most useful will be a pointer to detailed configuration instructions.
-sameer
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02588 seconds