Anyone using Zend Studio Debugger?

I'm curious if anyone is using Zend Studio to debug local installations of drupal? I've been using Zennd for development purposes for a while but just decided to try and make it work locally allowing me to debug code without actuallly running it on my server.

I managed to get the server up and running fine but can't seem to make it debug drupal. Any suggestions, tips, etc would be greatly appreciated. Please share your experiences with this product.

is a pain

moshe weitzman - January 19, 2006 - 03:07

works for me, but it was a pain to setup. talk to zend if you have problems. is impossible for us to help you from here.

I logged a support request

rbrooks00 - January 20, 2006 - 19:03

I logged a support request with them, we'll see how helpful they are.

If there is some way that I can sensibly document what they say so it'll be helpful for other people then I'll try to do so.
============================================
BuyBlue.org

Got it working...

rbrooks00 - January 24, 2006 - 05:18

I finally got this working. I don't know that I'll be able to list everything I did here but hopefully this info will help other people that use the product and perhaps it can be tested by someone who doesn't have it setup.

Required: You must have a working local ennvironment setup with Apache, PHP, a database and Drupal. I used http://localhost/drupal for my local instance and if it matters to anyone I'm using XAMPP on Mac OS X to host drupal locally.

You must have also successfuully installed Zend Studio Server somewhere on your local machine. You can tell if that is successful by opening the URL which allows you to view zend and php settings. This also moves the location of your php.ini file so it is under Zend's control. So if you want to modify it directly then look for it there.

1. Your php.ini file should have all "eaccelerator" settings disabled if that happens to be enabled, other than that I have the default PHP.ini file created by the combination of Xampp and Zend on Php 5.0.5.

2. Under Preferences ->Debug you should have all of the default settings in place with the following exceptions.

  • Change "debug mode" to "server".
  • Change "debug server URL" to the location of your Drupal installation, but the full path to your index.php file must be specified. In my case http://localhost/drupal/index.php
  • Setting any other options are up to you
  • Some error messages make reference to tunneling settings, you don't need this with a local development environment so make sure tunneling is disconnected. You can do this under tools -> tunneling settings

That's basically it, you should now be able to connect locally and debug as you'd expect. Zend will open your default browser in the background and you can then go back to your ZDE window and start debugging.

It wasn't really too hard but it isn't documented anywhere.
============================================
BuyBlue.org

What are exact Php.ini settings

nicopepe - February 6, 2006 - 08:15

Please would you be king to make a copy of your php.ini settings of the ZEND part of it. It may be useful.
I gave up myself to use zend for debbugging. So i'll try again with you settings. (i use zend 3.0).

 
 

Drupal is a registered trademark of Dries Buytaert.