A plugin that makes jQuery throw an error, rather than fail silently, when a selector returns no results.
Save tons of time and frustration debugging jQuery!
Install with npm
npm install --save jquery-debug
Check out this article for more information on how to use jQuery plugins with npm.
Here's the error message you would see in the browser console.
Error: The jQuery selector 'p' was not found in the context of '#document'.
For a live example, check out the CodePen.
See the CONTRIBUTING Guidelines
MIT © Jonathan Kemp