XDebug setup.
I have two questions that have come up as I setup XDebug for PHPStorm.
1) http://www.jetbrains.com/phpstorm/marklets/ for XDebug asks for an IDE key. Does this key also need to be supplied to the IDE so they are in synch?
2) After the 'Generate' button is pushed a series of hyperlinks are generated with the note that I should bookmark each of these links. I am not sure how to do that with Chrome and IE. Do you have a quick way to bookmark the links?
Thank you.
Kevin
请先登录再写评论。
Any hints would be much appreciated. Currently I cannot debug because I am not sure how to enable debugging on the browser.
Hi there,
1) Only one or two Run/Debug Configuration types require actual key. Zero config approach (from IDE side) will work with any key. But yes -- you have to provide some value when making bookmarklets (default "PHPSTORM" is just fine -- I see no reason to change it).
2) Just grab and drag the link to the bookmarks bar -- same approach works in Chrome/Firefox/Internet Explorer/Opera (and possibly other browsers)
P.S.
Instead of bookmarklet you oculd just install end use browser extension -- just search for "xdebug". For example -- https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc