Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans with xdebug not highlighting debugged lines

I finally managed to get xdebug working but now I am facing a strange problem. I can see the variables, I can step through the code but i can't see what line I'm actually debugging. Any ideas?

like image 676
Stefan Paval Avatar asked Jan 24 '26 22:01

Stefan Paval


2 Answers

If you don't see highlighted lines, it's possible that the project settings aren't configured correctly.

E.g. when using a htaccess redirect from the root folder to folder myapplication, be sure to edit Project->Properties->Sources->Web Root to the redirect folder.

That solved the issue for me.

like image 149
Jo Versmissen Avatar answered Jan 27 '26 12:01

Jo Versmissen


Under Netbeans > Project Properties > Sources, be sure that the Web Root is set right to refer to the directory where the running page is. This could be one of the possible reasons of the problem.

like image 25
SBay Avatar answered Jan 27 '26 10:01

SBay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!