Saturday, June 1, 2013

NetBeans with Zend


First thing is to download to right NB, the "All" version which supports PHP.

Did that.

Next to create a PHP project in NB:

File | New Project… | PHP | PHP Application  | (use default Name and Location) | (Run Configuration) Project URL = http://localhost:10088/testing/PhpProject2, check “Copy files from…” = /usr/local/zend/apache2/htdocs/testing/PhpProject2 | Finish

That worked. Meaning, the PHP runs fine.

Now for debugging. Unfortunately I get "Waiting For Connection (netbeans-xdebug)" on the NB status line. Nothing happens.

The URL is localhost:10088/testing/PhpProject2/index.php?XDEBUG_SESSION_START=netbeans-xdebug

which looks correct. My sense is that there is something trivially wrong in the connection between NB and Xdebug.

This link here is not very hopeful. I'll have to decide what to do.

No comments:

Post a Comment