NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Cannot find file dbg-sample.php while remote debugging


Joined: 09 Aug 2009
Posts: 2
Location: Amsterdam, The Netherlands
Reply with quote
Hi,
I use PhED 5.6 on Windows Vista with a remote server (on a separate drive) with Apache 2.2 and PHP5.2.10 installed.

Normally I used the debugger locally and everything worked fine. Now I've setup the "remote" server (on the same box but different disk) and I run into a problem. Everything works fine, defining workspace, project and project properties.

Then I run the Wizard (in de the project properties box). The first test goes fine with all green V signs, then it tries to run the debugger en tells me it cannot find the file "dbg-sample.php. Which is pretty smart of the Wizard, because I cannot find that file either, not on my D:drive (the server) or in the NuSphere package on my C: drive Rolling Eyes .

I've tried to download that little script from the NuSphere site, but can't find it either there, nor on any other site on the Web.

Does somebody know what I am doing wrong, or can somebody supply me with that script dbg-sample.php?
Thanks.
View user's profileFind all posts by YankeeDoodleSend private message
Cannot find file dbg-sample.php while remote debugging


Joined: 27 Aug 2009
Posts: 1
Reply with quote
Hi,

I don't know if you are still having this problem, but my settings wizard ran through ok and executed the script. I'm not sure where the script came from but it ended up in my project root directory.

This is the contents of it

<?php
function test_func(&$arg1) {
var_dump($arg1);
return "hello";
}

$tst = array(0=>"element1", "a"=>"element2");
$a = test_func($tst);
echo "$a world"
?>

So I guess you could just create your own dbg-sample.php and see if that works.

Cheers,
View user's profileFind all posts by wizardofloddSend private message


Joined: 09 Aug 2009
Posts: 2
Location: Amsterdam, The Netherlands
Reply with quote
Thanks, partner. Got it working now, finally Very Happy
View user's profileFind all posts by YankeeDoodleSend private message
Cannot find file dbg-sample.php while remote debugging
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