Add debugging and direct file access options to local config
Add access protection for debug.log