Pre-populate sections in config? Fixes #4519

Changed getBasicConfig to basicConfig
Added section Debug.