X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=53e9b2184ea097c922684a22bb7a9af954fe4e75;hp=39cbdea2f5e5e584ee9404179ad5f2bf7b17fd95;hb=7e5c67f2407bba8afe4ded84f69aa6ff7ed7e4b2;hpb=269194b4f9de3905430a2d1f21f68da13b2b9ed9 diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 39cbdea..53e9b21 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -848,10 +848,17 @@ L. Returns 1 if debug mode is enabled, 0 otherwise. -You can enable debug mode in several ways: -(1) with the environment variables MYAPP_DEBUG, or CATALYST_DEBUG -(2) the -Debug option in your MyApp.pm -(3) by declaring "sub debug { 1 }" in your MyApp.pm. +You can enable debug mode in several ways: + +=over + +=item With the environment variables MYAPP_DEBUG, or CATALYST_DEBUG + +=item The -Debug option in your MyApp.pm + +=item By declaring "sub debug { 1 }" in your MyApp.pm. + +=back Calling $c->debug(1) has no effect.