chrome-xdebug-client icon indicating copy to clipboard operation
chrome-xdebug-client copied to clipboard

don't show source files

Open yangchunyong opened this issue 9 years ago • 1 comments

it shows like below: Couldn't get source: file:///srv/mlearning-lab.com/www/bootstrap/autoload.php:3

my settings like this: Listening IP:
10.8.0.8 (xdebug will try to establish connection with this IP)

Listening Port:
9001 (this should match xdebug.remote_port in your php.ini)

Number of source code lines that will be fetched - before and after current line. Used only if no 'Source URL' was specified. Number of lines:
50

If the native xdebug source doesn't work as expected try using your own api, e.g. source.php Source URL:
/Users/yangchunyong/mlearning-lab.com/public/index.php

my xdebug log:show it's connect with the app,but some errors: ->

"""please help me!!!

yangchunyong avatar Sep 26 '15 05:09 yangchunyong

Hi, sorry to hear you're having problems.

I'm not sure if I'm reading this correctly... have you got /Users/yangchunyong/mlearning-lab.com/public/index.php in your Source URL field? If so, it has to be a url, something like: http://.... The extension will try to ajax request the url.

Have you tried running it with with Source URL blank? Did that not work?

P.S. I wouldn't worry about the xdebug log errors - you will get them even in normal operation :/

artbek avatar Sep 26 '15 11:09 artbek