Fixing an error in your extension

Written By Udaya Prakash

Last updated 7 days ago

If your extension throws an error when you actually run it, you do not have to describe the problem. Paste the error and PlugThis fixes that exact thing.

How to get the error

  1. Open your extension in Chrome.

  2. Press F12 to open developer tools, then click the Console tab.

  3. Find the red error and copy it, including the stack trace underneath if there is one.

It will look something like Uncaught TypeError: Cannot read properties of null.

How to paste it in

Click the bug icon next to the mode selector. It is there in all three modes. A box opens asking for the Chrome console error. Paste what you copied and click Fix this error.

Why this is better than describing it

The error text says exactly which line failed and why. Describing the symptom, "the timer does not start", leaves PlugThis guessing at the cause.

Your design is safe

Fixing an error changes the code that broke, not the way your extension looks. Work you have done on the design stays as it is.