never_had_a_name
never_had_a_name

Reputation: 93296

activate xdebug on mamp?

i'm using MAMP and want to activate xdebug.

i've uncomment the following row in php.ini:

[xdebug]
zend_extension="/Applications/MAMP/bin/php5/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so"

i restarted MAMP and opened a php file containing phpinfo() on the web browser and saw a section named "xdebug". so im sure its installed.

however, the browser doesn´t print out any error messages.

how come?

Upvotes: 2

Views: 3089

Answers (1)

Kamil Szot
Kamil Szot

Reputation: 17817

Maybe you have displaying errors disabled by default. Try to do:

error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', 1);

before causing error in your script.

Upvotes: 1

Related Questions