fix: [UI] Move debug mode variable before setting database connection
fix: [UI] Move debug mode variable before setting database connection

MISP/MISP,SteveClement/MISP,SteveClement/MISP,MISP/MISP,MISP/MISP,SteveClement/MISP,SteveClement/MISP,MISP/MISP,SteveClement/MISP,MISP/MISP