Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to configure Notepad++ DBGP plugin. Xdebug already installed

I have installed xdebug on PHP but now I can't make the notepad++ DBGp plugin work.

I have latest wamp version on Win7 and the wwww folder is on partition: d:\www.

I have coded a test file test.php :

<?php
    $test = "3";
    echo $test;
?>

And I have tried opening it in web browser using this link :

http://localhost/test.php?XDEBUG_SESSION_START=test

But the DBGp won't connect. I tried with and without IDE_Key.

I have gone through the documentation many times but was unable to find/solve the issue. Hopefully someone could know the reason.

Below are some screenshots:

enter image description here

enter image description here

like image 839
Kandinski Avatar asked Oct 17 '11 08:10

Kandinski


1 Answers

To fix this issue, the ports on both the xdebug settings and the dbgp settings needed to be changed.

It is unclear from the above comments whether it was because they both attempted to use the same port, ports were used by other applications etc. but perhaps Kandinski can clarify this by editing this answer when they see it.

(Posting the given answer [see comments on question] to remove the question from the unanswered queue. User was asked over 3 years ago to do this but has not done so yet. Credit for this answer remains theirs)

like image 172
Ren Avatar answered Nov 05 '22 19:11

Ren