Re: PHP Debugging in Quanta+
Andras Mantia <[email protected]>
| Newsgroups | gmane.comp.kde.devel.quanta.user |
|---|---|
| Message-ID | <[email protected]> |
On Monday 03 December 2007, Alexander Yurchik wrote:
> <localproject/>
> <localbasedir>/var/www/test</localbasedir>
> <serverbasedir>/test</serverbasedir>
So far what I found is the error happens if you use this paths. I'm yet
unsure why, but please try the following:
- tick the "local project" box
- set your preview prefix to point to the place where your site is (e.g.
http://localhost/~username/yoursite)
- set the startsession in a way that it points to your site (
http://localhost/~username/yoursite/%rfpp?XDEBUG_SESSION_START=1;XDEBUG_PROFILE)
In my case I have the following setup:
- the source code for the site is in "/data/development/kdewebdev.org"
- the apache base dir is /srv/www/htdocs
- I have a symbolic link from /srv/www/htdocs/kdewebdev.org
to /data/development/kdewebdev.org
- the preview prefix is http://localhost/kdewebdev.org/
- the debugger settings are:
<DBGp>
<localproject/>
<localbasedir>/</localbasedir>
<serverbasedir>/</serverbasedir>
<listenport>9000</listenport>
<startsession>http://localhost/kdewebdev.org/%rfpp?XDEBUG_SESSION_START=1&XDEBUG_PROFILE</startsession>
<defaultexecutionstate>break</defaultexecutionstate>
<errormask>1802</errormask>
<profilerfilename>/tmp/cachegrind.out.%a</profilerfilename>
<profilerfilename_map>0</profilerfilename_map>
<profiler_autoopen>0</profiler_autoopen>
</DBGp>
I'm curious if this makes it work for you or not. Anyway there seems to
be a problem with the basedir handling, but I'd like to get a
confirmation that indeed this is the problem at your side.
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
_______________________________________________
Quanta mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/quanta
signature.asc
(application/pgp-signature, 194 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQBHVnPMTQdfac6L/08RApm2AKCshTesNLV1ousf/NDfzI6Ar7XargCglxUH 6mjUTmeTaBtkLAn72jh3zbQ= =VFEP -----END PGP SIGNATURE-----