Debugging Woes

Hi

Am using PHPStorm demo version. I want to debug my locally developed application using latest version of PHP 5.2 against IIS.

I cannot work out how to setup the debugging configuration. The document is extremely poor around this requirement and the debugging configuration dialog is cryptic at best.

What do I need to do to debug a localhost application using IIS7?

Thanks.

6 comments
Comment actions Permalink

bumped

Any ideas around this?

Thanks.

0
Comment actions Permalink

Hello Gazley,

Sorry for delay,

First please try the wizard: click File -> 'New project from existing files' action, or the same action at Welcome screen that shows up when no project is opened. Complete all the steps to have initial configuration set up.

Alternatively, you may go the manual way:

First you need to set up the server at File -> Settings -> Deployment dialog page. If your project is under server's web root directory, you need a Local server, otherwise you choose the server access type from FTP, SFTP or Mounted (aka shared) folder. Then, you need to specify Mappings (it's the second tab at the same page). Namely, you tell PhpStorm where to upload your project files (if your server is other than Local) and which URL to open.

Done this, you just right-click your PHP file (in Project view or right in editor) and choose Debug -> "myfile.php on myserver".

Regards,
Kirill

0
Comment actions Permalink

Hi Kirill,

Many thanks for your reply.

I will try out your suggestions and let you know how I get on.

In the meantime, are you aware of any problems with PhpStorm and XDebug? Whilst trying to get this working earlier today, I encountered a number of errors, some were around "FastCGI" and others around Socket errors.

I have come across similar errors with Netbeans and XDebug which is one of the primary reasons I am evaluating PhpStorm.

Regards.

0
Comment actions Permalink

Hello Gazley,

Well, there are some problems (see i.e. http://youtrack.jetbrains.net/issue/WI-1873), but I believe they are specific to certain OS/PHP/Xdebug version.
Also, there were more general Xdebug stability problems that have been claimed fixed in the latest Xdebug version.

Regards,
Kirill

0
Comment actions Permalink

Hi Kirill,

I am pleased to report that the debugging seems to be working very well. I appreciate the advice that you gave me to work against "localhost".

I apologise if I was a little grumpy in my original post. It's how I get when I'm frustrated :)

Thank you.

Regards

0
Comment actions Permalink

Hello Gazley,

No problem, you're very welcome.
Please feel free to post any questions/feedback that appear.

Regards,
Kirill

0

Please sign in to leave a comment.