I'm not sure if I understand your question correctly, but I think this shiny debugging guide could help you.