Debugging yaml configuration with the symfony web debugger

by Dave Dash 21May07

[tags]symfony, yaml, configuration, web debug, debug[/tags] There's no doubt that yaml configuration files in symfony can be troublesome to debug.

The symfony web debugger comes to the rescue.

Let's say you're app.yml has the following:

app:
  admin:
    email: me@example.com

In your development environment you can look at click on "vars & config" and under settings see all the sfConfig::getable variables. You'll find the above listed as:

app_admin_email: me@example.com

This technique is very handy when trying to figure out what key you need to use in sfConfig::get().


Where am I?

This is a single entry in the weblog.

"Debugging yaml configuration with the symfony web debugger" is filed under programming and symfony. It was published in May 2007.

May 2007
M T W T F S S
« Apr   Jun »
 123456
78910111213
14151617181920
21222324252627
28293031  

need more help

If you found our tutorials and articles to be useful, but are still looking for more hands on help, consider hiring us. Find out more about how Spindrop can help you.

 

Further Help

If you require more hands on assistance, we do offer affordable hands on support.

Leave a Reply


Comment guidelines: No spamming, no profanity, and no flaming. Inappropriate comments will be deleted outright.