Updating the post to have some more details on debugging and linking to an example