[resolved] PEAR and PHPEd Debugging Local Script |
Site Admin
|
Right. All you need is debugger module installed and project properly configured.
When you referred to console, did you mean that you tried the same php that you tried to debug or you have another one in your system? Looks like you have one php with PEAR installed and one that came with PhpED with debugger installed. |
||||||||||||||||
_________________ The PHP IDE team |
|
You are right, I already had the latest version of php installed before installing the evaluation copy of PHD. When I run scripts outside of PHPEd I have no problem.
I am able to debug scripts within PHPEd, however they fail when they reach any include statement that would normally rely on a path directive. I therefore assume that I have setup PHPEd and the Debugger correctly. I am used to Zend Studio but am thinking of changing over because it really does not seem to support php5 very well ( particularly extensions ), phped seems to have the most common extensions already configured. The reason I posted this issue, is because I got a follow up email from phpEd where they state...
Having to set up a project just to debug a standalone, simple script seems a real pain, so I was really pleased to see this statement... But it does not seem possible to set thing up "by default" so that someone can simply open a script and go.... Without having to go through a whole setup process first. Any clarification would be appreciated! |
||||||||||||||
|
Site Admin
|
no pain at all, but seems it has relation to the issue.
Correct if you mean include_path directive. And the directive itself in php that comes with PhpED may differ from the one you have in the PHP that you installed before. So it explains why one php may work fine while another won't. I'd recommend you to run phpinfo in both and compare, or configure PhpED to work with your php. In latter case you may want to update path to php-cgi.exe in Tools->Settings->SRV web server and add zend_extension_ts="c:\path\to\php-dbg.dll-5.2.x" into php.ini that your php uses. |
||||||||||||||||
_________________ The PHP IDE team |
|
Thanks - That sorted it out and I now see clearly how things are set up. I went into phped's version of php.ini and modified the pear path in the include_path directory to the PEAR directory for my pear setup and now it all works as expected! I have decided for now to let phped use its own version of php and keep it separate from the original version on my machine.
Thanks for your help! |
||||||||||||
|
[resolved] PEAR and PHPEd Debugging Local Script |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by