Knowing that the code works and what to do if it don't.
Where is it running; local, prod, sandbox?
In the Sandbox where is it stopping; echo statements, database connections?
What do the logs say? Log, Log its better than bad its good.
Does an error write; to the screen, view source, URL?
Does the code meet the stakeholders expected results?
If so then so do so
else write a bug.