You will need to have debug logging turned on in order for dumping from scripts to work.
https://wiki.dreamfactory.com/DreamFactory/Troubleshooting