|
Re: PDT - (x)debug local PHP script [message #61812 is a reply to message #61695] |
Wed, 28 November 2007 17:47 |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotnospmail.com
Hi Johan, The first thing to check is whether xdebug is actually
configured. try running phpinfo in your script and checking the output.
The ini file it says that it is using will be in some temporary
directory which is a modified copy of the one found in the same
directory as the php executable.
Dave Kelsey
Johan Vandeweerd wrote:
> Hello all
>
> I'm trying to debug a local php script. PDT, PHP, xdebug etc are all
> installed and I can use xdebug to do remote debugging of websites. But
> now I try to debug a local script with XDebug.
>
> When I add a script for debugging, the debugger doesn't stop and just
> runs the script.
>
> What I did was:
> * Open Debug Dialog
> * double clicked on PHP script
> * Entered a name
> * Choose Xdebug as debugger (PHP executable is set correctly)
> * Selected the PHP file
> * Tried with and without break at first line
>
> Is there something special you need to do to debug a local script with
> XDebug?
>
> Thanks in advance
> Johan Vandeweerd
>
> XDebug 2.0.2
> PHP 5.2.4
> PDT 1.0 20070910
> Mac OsX Leopard/WinXP
> Apache 2.2.6
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03649 seconds