NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debug session with XAMPP, fail to load


Joined: 31 Oct 2012
Posts: 16
Location: Canada
Reply with quote
Hi.

I am trying to debug my project in phpEd while using apache server in Xampp.

The reason for this is because I want to use the same php version for both project display and debugging.
(Xampp is 5.6.30 and phpEd is 5.5.26)

First I tried to debug it using internal srv, and it stopped at my first break point in index.php.

Then I execute the Settings Wizard in project properties and change/set:
- select second option (project file and Apache on same machine)
- the Web document to C:\xampp\htdocs

and check php installation and dgb script successfully.

Now, when I execute the debugger, it pass through my break point and send the page directly to Chrome without the standard debugging port (http://localhost:8080/index.php) but instead (http://localhost/index.php)
I receive a"waiting for debug session" window and an other one saying this:

---------------------------
Error
---------------------------
Failed to start debug session (timeout).
Please make sure that debugger module is installed on the server
that corresponds to http://localhost/p3/plateforme_source/index.php URL.

TIP: Please visit NuSphere site for further details on how to install debugger module.
---------------------------


This is what I found in xamp/php/php.ini, after letting PhpEd install the debugger
---------------------------
zend_extension="C:\xampp\php\ext\dbg-php-5.6.dll"
[debugger]
debugger.JIT_enabled=Off
debugger.JIT_level=3
debugger.hosts_deny=ALL
debugger.hosts_allow=127.0.0.1, localhost, ::1
debugger.ports=7869
---------------------------


Any clues will be more than welcome...

Thanks Very Happy
View user's profileFind all posts by fledSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
localhost:8080 is not a debugging port. This port is used by internal srv which is a _web_ server. Debugger uses 7869 port by default.
As of the timeout problem -- try to run wizard one more time and don't forget to save the results -- that's your project. Then run a file in the project.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Debug session with XAMPP, fail to load
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic