NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Failed to start DBG session


Joined: 16 Oct 2008
Posts: 1
Reply with quote
I am having problems getting remote debugging to work

My environment is that my browser is IE 7 running under Windows Server 08

My webserver is IIS 6 running on Windows Server 03

I have followed all of the instructions as far as I can:

Here is the output of dbg-wizard.php

PHP Version: 5.2.4
Web Server: Microsoft-IIS/6.0
Server Name: phped.sbwh.com
Platform: WINNT/x86
Your Client IP Address: ******
Your Server IP Address: not determined
Port: 80
Your Web Server and PhpED are on different machines
Path to website files: F:\wwwroot\
Document Root is: F:\wwwroot\
Your PHP.INI file is: C:\Program Files\PHP\php.ini
PHP extensions directory is: C:\Program Files\PHP\ext
DBG (PHP DEBUGGER) Version 3.4.2 is INSTALLED

As you can see - the correct debugger DLL module has been copied to the PHP extensions folder

I have added the appropriate text to php.ini on the webserver -

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example, on Windows:
;
; extension=msql.dll
;
; ... or under UNIX:
;
; extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.

extension=dbg-php-5.2.dll
[debugger]
debugger.hosts_allow= 10.11.10.11
debugger.hosts_deny=ALL
debugger.ports=7869


I brought up a php page in IE that simply contained

<?php
phpinfo();
var_dump(gd_info());
?>

and then clicked the "Debug this page" button on the phpED IE toolbar - and get the following error:

DBG 3.4.2

Failed to start DBG session


Reason: protocol error ()
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.


Debugger request: "41521;d=1,c=0"
Request found in: "$_COOKIE['DBGSESSID']"
Target PHP version: "5.2.x"
Server API: "ISAPI"
Extensions API: "220060519"
Modules API: "20060613"
PHP API: "20041225"

Any ideas what I'm doing wrong ?
View user's profileFind all posts by sbwhSend private message
Failed to start DBG session
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