Changed defines from DEBUG to DIAGNOSTICS_PAGE_MIDDLEWARE
Renamed configurations to frameworks in project.json