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:
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With