
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
jquery-debug
Advanced tools
A plugin that makes jQuery throw an error, rather than fail silently, when a selector returns no results.
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.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>demo</title>
<script src="https://code.jquery.com/jquery-3.0.0.js"></script>
</head>
<body>
<div>DIV</div>
<script>
var element = $('p').debug();
</script>
</body>
</html>
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
FAQs
A plugin that makes jQuery throw an error, rather than fail silently, when a selector returns no results.
The npm package jquery-debug receives a total of 2 weekly downloads. As such, jquery-debug popularity was classified as not popular.
We found that jquery-debug demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.