Best way to use debugger in phpStorm

Hello,

now there we can use the ZendDebugger in phpStorm, and now I'm searching for a good way to do so...
I don't want to debug a single script, I want to debug a complex application.

So how can I do the following:
- Debug a complex form
- Debug an ajax request

With ZendStudio, I would take the ZendDebugger Toolbar for this.
But at this point, there is no Debugger Toolbar for phpStorm(hopefully this changes soon :-) ).

So, how do you use the debugger in phpStorm?

Thanks and greetings,
Urkman

11 comments
Comment actions Permalink

Yeah, it is not so handy to use Zend Debugger with PhpStorm at the moment and you cannot debug compex applications.
Only thing you can - is just to debug one page.
It is enough to test a lot of parts of debugger support, but not enough to debug real applications.
We work on functionality and are going to provide full fledged support as soon as possible.

Thanks

0
Comment actions Permalink

Hello Nikolay,

thanks for your answer :-)

Will there be any enhancement in the upcoming EAP's?
And what do you plan?

Thanks and greetings,
Urkman

0
Comment actions Permalink

Next EAP will include proper "debug all pages" implementation so you'll be able to debug complex any application, yet after initiating session from IDE.
Later this month "Wait for debug connection" mode will be added so it will be possible to initiate session from browser (perhaps right from Zend toolbar too)

0
Comment actions Permalink

Hello Alexey,

great :-)

Thanks for this...

Urkman

0
Comment actions Permalink

Hi Alexey!

What does "EAP" mean?

Has this featured been shipped? Is there some documentation about it?

Thanks :)

0
Comment actions Permalink

EAP is the stuff downloaded from here: http://confluence.jetbrains.net/display/WI/Web+IDE+EAP
Basically its a kind of weekly development builds available for "beta testing".
"Next" means that you need to compare the date of posting with date of build on the download page.

0
Comment actions Permalink

Hello,

thanks for the new version of ZendDebugger Support in EAP 148...

But first I have a simple question:
Where can I find documentation on how to setup the debugger to work with ZendServer CE?
IDE and ZendServer are on the same machine using OSX 10.6.4...

Thanks for your help,
Stefan Sturm

0
Comment actions Permalink

Well,
1) the ZendDebugger-related functionality is not yet complete and both UI and some settings will change
2) thats why EAP builds miss docs on fresh additions
Anyway, you can consult http://blogs.jetbrains.com/webide/2010/08/remote-debugging-in-phpstorm/
Most steps are same for local/remote setup and both XDebug & Zend Debugger

0
Comment actions Permalink

Hello,

thanks for the new version and the Zend Toolbar Support :-)
It looks very promising... I got a Debug session startet from Firefox... Great...

But I have one more question:

I'm working on two branches of a project. One under "project.local.dev" and one under "project.local.release"

project.local.dev -> /path/to/source/dev
project.local.release -> /path/to/source/release

When I now start a debug session using "project.local.release" it works fine and he uses "/path/to/source/release"...
But when I use "project.local.dev" he also starts a session for "/path/to/source/release".
So there seems to be a problem with the mapping, but allready set everything up...

What can I do to solve this?

Thanks,
Stefan

0
Comment actions Permalink

Well, this might be a bug in newly zero-configuration code. Please submit an issue to http://youtrack.jetbrains.net/issues/WI#newissue=yes

0

Please sign in to leave a comment.