development/xdebug: Fix README.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-10-13 01:27:59 -04:00 committed by Willy Sudiarto Raharjo
parent f8224d9c45
commit ebc83b0344
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -1,21 +1,22 @@
xdebug (A PHP extension for debugging PHP scripts)
The Xdebug extension helps you debugging your script by providing a lot of
valuable debug information. The debug information that Xdebug can provide
includes the following: stack traces and function traces in error messages,
memory allocation and protection for infinite recursions. Xdebug also
provides profiling information for PHP, scripts, code coverage analysis and
capabilities to debug PHP scripts interactively with a debug client.
The Xdebug extension helps you debugging your script by providing a
lot of valuable debug information. The debug information that Xdebug
can provide includes the following: stack traces and function traces
in error messages, memory allocation and protection for infinite
recursions. Xdebug also provides profiling information for PHP,
scripts, code coverage analysis and capabilities to debug PHP scripts
interactively with a debug client.
Once you've installed xdebug, uncomment the following line in
/etc/php.d/xdebug.ini:
; zend_extension = "/usr/lib/php/extensions/xdebug.so"
Restart your webserver if you're using php with it, and as a recomendation
from xdebug's README: "Write a PHP page that calls "phpinfo();" Load it
in a browser and look for the info on the xdebug module. If you see it,
you have been successful!"
Restart your webserver if you're using php with it, and as a
recomendation from xdebug's README: "Write a PHP page that calls
"phpinfo();" Load it in a browser and look for the info on the xdebug
module. If you see it, you have been successful!"
Note that some of xdebug's functionality may be dependent on php core
configuration settings.