About phpeclipse xdebug

RaphaĆ«l Gertz <[email protected]> Sat, 30 Jun 2007 23:51:29 +0200
Newsgroups gmane.comp.ide.eclipse.phpeclipse.devel
Organization Rapsys.eu
Message-ID <[email protected]>
Hi,

I wanted to thanks for your great work.

I just installed eclipse for the first time (version 3.3 which just went out).
I installed after phpeclipse 1.1.8

Then i installed 1.2.0.200706300420NGT

In fact i tried to makes works the debugger for an already existing project.

My project works that way :
index.php <= entry point
-> call config.inc.php which define constants + autoload magic function
-> create site object (present in include/site.inc.php)
-> call output in html of site object

My problem is that i have never been able to makes works xdebug on remote 
site :'(

The only things i have been able to do is debug a local script :'(
(the info.php example)

Try to debug a script that call readfile('somefile.xhtml') or even include 
config.inc.php in same dir simply fail.

So my feature request are simple :
- explain with screenshot how to install phpeclipse :
I set png here: http://rapsys.free.fr/eclipse/

- explain a bit more how to setupd xdebug to work for local script :
=> path configuration
=> working directory to include other files in same dir
(add by default script directory to end of php include path wouldn't hurt)
=> xsetup in php.ini configuration for local works
=> screenshot set of basic php script debug

- explain a bit more how to setupd xdebug to work for remote script :
=> path configuration
=> xsetup in php.ini configuration for remote works
=> url example
=> screenshot set of basic php script debug

- Explain the meaning of XDebug port (is it a listenning port in eclipse and 
php xdebug connect to or reverse case ?)

Actually wiki issue small problem to get what to do as some feature have been 
renamed in 3.3 version, example "Debug ..." should be "Debug as ..." now.

- explain how to save a debug config to be fast called

- change in default file association
=> .html/.xhtml are not yet associated correctly to an editor
(it's a webbrowser which is called by default, which is a bit stupid)

- mysql/apache are not unix compliant
=> apache should have 3 command linux on unix :
/etc/init.d/apache start
/etc/init.d/apache stop
/etc/init.d/apache restart
/usr/sbin/apache
(httpd.conf, binary path and hosts file don't seems realy usefull on unix for 
me)
=> same for mysql
/etc/init.d/mysql start
/etc/init.d/mysql stop
/etc/init.d/mysql restart
/usr/sbin/mysqld
=> xampp should not be displayed on unix
=> php interpreter should be global ?
(not set both in PHP and Xdebug ? or add a configuration file name extra 
field)

ps : my configuration just in case :
Mandrivalinux 2007.1
Apache/2.2.4 (Mandriva Linux/PREFORK-6.1mdv2007.1)
MySQL/5.0.37 (Mandriva Linux/Standard Edition (GPL)-2mdv2007.1)
PHP/5.2.1 (Mandriva Linux/PREFORK-4.2mdv2007.1)
Eclipse/3.3 (Downloaded from eclipse website)
PHPEclipse/1.20.0.200706300420NGT

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Phpeclipse-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpeclipse-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBGhtBiT/GaTDuBp08RAvm0AJ48bPIpMw/2lXspTX5IRa+rXILW+ACfXjk1
smILu6Rb35bOXMUpsKXFmfc=
=RDlu
-----END PGP SIGNATURE-----