I am very new to plugin development. I have created my first plugin but when I activated it, it caused the majority of every page on the site to stop being generated. I have echoed something from the end of the php script to confirm that it was completing without an error. But other than that I have no idea what I should do to debug this problem.
I would like to be able to work on this on a public site that will be getting traffic while I work, is there a way I can have the plugin only activated on one page or only for me and not for guests?
I would like to be able to show debug messages, is there a convenient way to do this?
Are there points outside of my plugin that would be helpful for debugging? I don't know where to look that might be leading to the problems.