Added index route to app instead of debug
Added documentations to debug routes