actualNoteContentPart: ### Problem with plugin not doing what I want
  When the plugin doesn't do what you expect, there are a few options to get to the bottom of what's happening:
  **Use ****console.log**** to output state**. Any plugin can include lines like console.log("The app interface is", app, "as of", new Date()) which can be viewed in your browser as long as you have [Developer Inspector Tools](https://developer.chrome.com/docs/devtools/open)  opened. 
  **Invoke ****debugger**. If your plugin includes a call to debugger, you can often get your Developer Tools to pause with full context of the current app's state. The effectiveness of this method has not been well-tested, it may require a fresh page load to invoke.
  **Wrap ****try..catch**** around code where an exception might occur**. For example, you can write try { dodgyCode() } catch(error) { alert("There was an error attempting to call dodgyCode: " + error); console.log(error); console.trace();  }
processedNoteContent: ---
  title: Guide to Building/Developing Plugins (Beginner ...
  headers: ### Problem with plugin not doing what I want
  ---
  Problem with plugin not doing what I want
  When the plugin doesn't do what you expect, there are a few options to get to the bottom of what's happening:
  Use console.log to output state
  . Any plugin can include lines like console.log("The app interface is", app, "as of", new Date()) which can be viewed in your browser as long as you have [Developer Inspector Tools](https://developer.chrome.com)`
    opened.
  **Invoke ** debugger
  . If your plugin includes a call to debugger, you can often get your Developer Tools to pause with full context of the current app's state. The effectiveness of this method has not been well-tested, it may require a fresh page load to invoke.
  Wrap try..catch around code where an exception might occur
  . For example, you can write try { dodgyCode() } catch(error) { alert("There was an error attempting to call dodgyCode: " + error); console.log(error); console.trace();  }
noteTitle: Guide to Building/Developing Plugins (Beginner to Advanced)