Removed DebugTarget reference from advanced app template configs
Added debug to preload in advanced app template