Link to home
Start Free TrialLog in
Avatar of matiascx
matiascxFlag for China

asked on

Is it possible to debug php with zend studio just similar to Visual studio?

Hello

 I am starter for PHP programming.
 I find it is more time consuming for me to do php debug. The zend studio is powerful for debugging php code.
But I can only do the debugging via following scenario:
1. configure the zend studio correctly;
2. start the debugging step by step;
How can I do to meet following scenario:
1. set a breakpoint in php code;
2. start the php page run;
3. Some user data is input into the form
4. The corresponding php breakpoint was hit and the zend studio stop the php just there
for me to inspect the variables and then step in/step over in zend studio?

Can you give me detail instruction on how to configure so that i can do in that way?

Thanks!
Robert
ASKER CERTIFIED SOLUTION
Avatar of babuno5
babuno5
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of matiascx

ASKER

Thanks for your greate information!
Can you answer me two questions:
A).Can zend studio support following PHP debugging scenario:?
"1. Set breakpoint in the code;
 2. Run the php page somewhere else;
3. If the breakpoint of php code hit, the zend debugging session stops at that code space;
4. What's should be done by us is to inspect and checking code there.
"
B). If you have the power experience on A), can you give detail information for me to set up the debugging environment in local or remote manner.

Thanks!
matiascx
My local server environment is the Zend Server Communication Edition.
Till now, I can not find out the xdebug module in the phpinfo() output.
How should I go?