---
title: "Debug animated icon"
description: "Debug animated icon (Developer & version control). The bug is caught. Light: it scurries, legs paddling in a diagonal gait while its body wiggles, then it is pinned: the body drops with a hit and all four legs splay flat, then it relaxes back to its pose. Strong: it scurries forward through two full gait cycles, is slammed down harder, its splayed legs twitch once while pinned, and it relaxes in two beats. The body stays rigid; only the legs pivot at the body."
canonical: https://generativeicons.lottiefiles.com/icons/debug/
---

# Debug animated icon

The bug is caught. Light: it scurries, legs paddling in a diagonal gait while its body wiggles, then it is pinned: the body drops with a hit and all four legs splay flat, then it relaxes back to its pose. Strong: it scurries forward through two full gait cycles, is slammed down harder, its splayed legs twitch once while pinned, and it relaxes in two beats. The body stays rigid; only the legs pivot at the body.

- Id: `debug`
- Category: Developer & version control
- Search terms: bug, bugs, insect, beetle, debugger, debugging, bug fix, fix bug, squash bug, glitch, defect, bug report
- One action, back to rest
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.lottiefiles.com/assets/debug.lottie (dotLottie, 3927 bytes, sha256 67ba70f05b9e09023b6ccfc112049c7e218f4cb48567254e1cf104ebe53b7c64)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add debug
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/debug.mjs';

export function DebugIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/debug.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.lottiefiles.com/icons/debug/ · https://generativeicons.lottiefiles.com/api/icons/debug
