# @startupjs/babel-plugin-startupjs-debug

> Additional transformations for development and debugging

Latest version **0.63.1** (published 2026-06-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @startupjs/babel-plugin-startupjs-debug
pnpm add @startupjs/babel-plugin-startupjs-debug
yarn add @startupjs/babel-plugin-startupjs-debug
bun add @startupjs/babel-plugin-startupjs-debug
```

## Health

**Score 50/100 (C)** — status: active.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.63.1 |
| Published | 2026-06-24 |
| First published | 2022-02-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 109 |
| Author | Pavel Zhukov |
| Maintainers | cray0000, yska, zag2art, fctsvirus, maestro.sc, byshock, anagami, rabbit-abyss, tarlord, nariman322 |
| Keywords | babel, babel-plugin, startupjs, debug |

## Links

- npm: https://www.npmjs.com/package/@startupjs/babel-plugin-startupjs-debug
- Repository: https://github.com/startupjs/startupjs
- Homepage: https://github.com/startupjs/startupjs#readme
- Issues: https://github.com/startupjs/startupjs/issues
- npm.io page: https://npm.io/package/@startupjs/babel-plugin-startupjs-debug

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.63.1 (latest) — 2026-06-24
- 0.64.0-alpha.0 (alpha) — 2026-06-24
- 0.60.0-canary.7 (canary) — 2025-11-12
- 0.56.0-alpha.1 (next) — 2024-01-28
- 0.63.0 — 2026-06-24
- 0.63.0-alpha.0 — 2026-05-04
- 0.62.0 — 2026-05-04
- 0.62.0-alpha.0 — 2026-03-25
- 0.61.0 — 2026-01-02
- 0.60.0-canary.2 — 2025-11-08
- 0.60.0-canary.0 — 2025-11-06
- 0.59.0-canary.0 — 2024-11-08
- 0.58.0-canary.0 — 2024-11-08
- 0.57.0-canary.75 — 2024-09-23
- 0.57.0-canary.0 — 2024-05-25
- … 22 more at https://npm.io/package/@startupjs/babel-plugin-startupjs-debug/versions

## README

# @startupjs/babel-plugin-startupjs-debug

Additional transformations for development and debugging

## Usage

For internal usage only.

### Options

```js
// defaults
{
  fixObserverHotReloading: true,
  addFilenamesToObserver: true
}
```

## Example

fix hot reloading of observer() and add filename

```jsx
import { observer } from 'startupjs'

export default observer(function Main ({ title }) {
  return <span>Hello</span>
}, { forwardRef: true, suspenseProps: { loader: <span>Loading</span> } })
```

↓ ↓ ↓ ↓ ↓ ↓

```jsx
import { observer } from "startupjs";
export default observer.__wrapObserverMeta(
  observer.__makeObserver(
    function Main({ title }) {
      return <span>Hello</span>;
    },
    {
      forwardRef: true,
      suspenseProps: {
        loader: <span>Loading</span>,
      },
      filename: "/ws/dummy-project/component.js",
    }
  )
);
```

## License

MIT

---
_Source: https://npm.io/package/@startupjs/babel-plugin-startupjs-debug · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
