marklets link generates random session id; but ide expects fixed session id;

What is the reason that the http://www.jetbrains.com/phpstorm/marklets/ generates Zend debugger link with random session ID, when the IDE needs to be configured with a fixed session id in debug configuration?

This was making the link generated from the marklets link above not working out of the box. I'm using IntelliJ 10.5. I believe this is very similar in PhpStorm. The broadcast port never works for me neither. I read through almost every available IntelliJ help pages in how to setup Php debugger. The final workaround is to remove the generated javascript that produce the random generated session id with a fixed numeric value. I've tested that and it seems to work fine with multiple server, browser, and ide restarts.

Pretty frustrated.

kc

4 comments
Comment actions Permalink

My original question was related to the links generated for Zend Debugger. I'm not sure if there is any behavioral difference between IntelliJ support of PHP and PhpStorm in this area.

0
Comment actions Permalink

Hello kamcheung sham,

What is the reason that the http://www.jetbrains.com/phpstorm/marklets/ generates Zend debugger link with random session ID, when the IDE needs to be configured with a fixed session id in debug configuration

'PHP Remote Debug' run configuration is generally intended to be used with Xdebug(yes, it could be used with Zend Debugger as well, but there is 'Listen debug connection' action for such purposes).
start_listen_php_debug_connections.png
Anyway, we are ready to improve our bookmarklets generator and if you have any reasons to use 'PHP Remote Debug' run configuratoin instead of 'Listen debug connections' action(zero-configuration debugging) we can discuss the issue.

The broadcast port never works for me neither.

Do you use Zend Debugger Toolbar?

Thank you for feedback!

0
Comment actions Permalink

Hello kamcheung sham,

Do you still have issues with debugging?

Thank you for feedback!

0

Please sign in to leave a comment.