Want to output the full xml config Magento is running?

Mage::getConfig()->getNode()->asNiceXml('full_config.xml');

Where full_config.xml is the file you want it dumped to.