phpStrom debug any page except the page inside Project dir Follow
my Os is:
linux mint14 - 64bit (Fork of Ubunut)
$ java -version
java version "1.7.0_13"
Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
phpStorm version 5.0.4
PHP Version 5.4.6-1ubuntu1.1
my Xdebug config show in phpinfo():
and in php.ini config i have this:
my phpStorm Config is:
and server config is:
now i press on debug and it's wating for xdebug:
i click on start xdebug bookmark and refresh the page:
but nothing happend and i see the Wating for .... message
but when i open anther link (pay attention here is untitled not untitled1):
this page automatically open in phpStorm and debug run:
see the message (this page is outside project)
thats very fantastic it debug all pages except the page i defined it for debug
any solutions ?
Please sign in to leave a comment.
Do you have any symbolic links there? Xdebug will send final (resolved/real) path and not symbolic link.
Not 100% related .. just some notes:
With this you don't really need any bookmarklet/browser extension/etc to start debug session as xdebug should attempt to connect to debug client on every single request (you may notice about 1 sec delay for page to be processed).
Same with Run/Debug configuration (PHP Remote Debug) -- you can just use that "Start Listening for PHP debug connection" button (the one with phone handle icon) to start debug client .. and then just initiate debug session from browser (or it should be initiated automatically with that autostart option On).
No i don't have symbol link
both untitled and untitled1 folder has same content alson both of them are the projects made in phpStorm when i open untitled project then if i open untitled dir on webserver.it doesn't work and untitled1 worked and oppositive this
excatcly each project be open doesn't debug
also if i enbale this item then that pages outside project doesn't debug anymore
is it a bug and should i report a bug?
this is my phpStorm log:
and this xdebug log:
it drive me crazy
xdebug version? I suggest using latest stable which is 2.2.1.
If it does not work ... please attach here your whole test project after all these manipulations (including .idea subfolder -- holds project configuration). I can try it here on my Windows 7 / IIS 7.5 / PHP 5.4.11 x32 nts via FastCGI
Also -- this screenshot of yours
I do see 2 index.php files opened -- one tab has normal backgound while another has yellowish background color.
Can you please show the full path for each of those files -- use "Navigate | File Path" on each of them (post 2 screenshots here).
BTW -- I do not see any breakpoints set on your very first screenshort.
I'm thinking -- xdebug may connect to PhpStorm just fine .. but since there is no breakpoints .. it will just run as normal. But .. for external (outside o fproject) script, it forces to break on first line (as shown on your latest screenshot).
my xdebug version is:
and it worked i got this:
after accept it worked but show this error
then i click on and set this path:
and that error disappear.but it just one time worked
and after that i create remote php debug and it didn't work anymore
my path are:
also i put break point
it worked just one time
i did these steps and i also see the wating message (i reload more and more) not happend anything
it seems first time is just for add localhost then debug doesn't want work
I've no idea why it does not work for you based on your screenshots only. Therefore:
1) Please try v6 EAP build -- http://confluence.jetbrains.net/display/WI/Web+IDE+EAP
2) Actually please attach your test project (must include .idea subfolder)
this is my two folder project
or i attached them
Both projects are working (debugging) just fine here on my computer -- no modification to project settings at all.
Where do you put breakpoint(s)?
Breakpoint got triggered on for line .. but does not trigger on echo line (for whatever reason).
The only other thing I may suggest (considering that you do everything else properly) is to try v6 EAP build.
You do not need (1), (2) and (3) all at the same time -- (3) on it's own is enough -- http://confluence.jetbrains.com/display/WI/Zero-Configuration+debugging+with+PhpStorm+2.0
i put break point another where and it didn't work
im downloading new version (i hope it worked)
thanks anyway for your help and fast answers
Does debug works in CLI mode ("PHP Script" type of Run/Debug Configuration) ?
i don't think so it is be a good way i want to work codeigniter and i think cgi php is better
i try new version and the problem is exists
it debug any page in my root direcotry except the pages inside project directory and it's very fantastic
i can give teamviewer to someone see if doesn't believe
im online on irc channel freenode.net my nick name is mintux send me message