Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Replacement for the obtrusive sfWebDebug
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
README.md

README.md

An attempt to replace the obtrusive sfWebDebug toolbar.

As you have noticed, the sfWebDebug toolbar dumps large amount of code (JavaScript, HTML, and CSS) thereby making the source code look like crap.

What this small plugin does (at least for now) is convert each of the panels into a JSON object and just console.log them. Not a huge win, but the primary benefit is accomplished: single line of junk at the very bottom of your source code.

Getting Started

git submodule add git://github.com/ibolmo/sfConsoleDebug.git plugins/sfConsoleDebugPlugin

# $this->enablePlugins('sfConsoleDebugPlugin') in
$EDITOR config/ProjectConfiguration.class.php

Add to your application's factories.yml

  logger:
    param:
      loggers:
        sf_web_debug:
          param:
            web_debug_class: sfConsoleDebug
Something went wrong with that request. Please try again.