npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2025 – Pkg Stats / Ryan Hefner

debug-time-machine-cli

v1.0.20

Published

πŸš€ Debug Time Machine CLI - μ™„μ „ μžλ™ν™”λœ React 디버깅 도ꡬ

Readme

debug-time-machine-cli

πŸš€ Debug Time Machine CLI - μ™„μ „ μžλ™ν™”λœ React 디버깅 도ꡬ

μ„€μΉ˜

npm install -g debug-time-machine-cli
# λ˜λŠ”
npx debug-time-machine-cli

μ‚¬μš©λ²•

μžλ™ μ‹œμž‘ (ꢌμž₯)

# React μ•±κ³Ό ν•¨κ»˜ Debug Time Machine을 μžλ™μœΌλ‘œ μ‹œμž‘
debug-time-machine start-with-app "npm start"
debug-time-machine start-with-app "yarn dev"
debug-time-machine start-with-app "pnpm dev"

μžλ™μœΌλ‘œ μ‹€ν–‰λ˜λŠ” 것듀:

  • βœ… λ°±μ—”λ“œ μ„œλ²„ (포트 4000)
  • βœ… Debug UI (포트 8080)
  • βœ… λΈŒλΌμš°μ €μ—μ„œ Debug UI μ—΄κΈ°
  • βœ… μ‚¬μš©μž React μ•±

κ°œλ³„ λͺ…λ Ήμ–΄

# Debug Time Machine μ„œλ²„λ§Œ μ‹œμž‘
debug-time-machine start --port 4000

# ν”„λ‘œμ νŠΈ μ΄ˆκΈ°ν™”
debug-time-machine init --name my-app --template react

# μƒνƒœ 기둝
debug-time-machine record --output session.json --duration 300

# 기둝 μž¬μƒ
debug-time-machine replay --input session.json --speed 2

단좕 λͺ…λ Ήμ–΄

# dtm 별칭 μ‚¬μš© κ°€λŠ₯
dtm start-with-app "npm start"
dtm start
dtm init

λͺ…λ Ήμ–΄ μ˜΅μ…˜

start-with-app

debug-time-machine start-with-app <command> [options]

Options:
  --no-browser    Debug UIλ₯Ό λΈŒλΌμš°μ €μ—μ„œ μžλ™μœΌλ‘œ μ—΄μ§€ μ•ŠμŒ

start

debug-time-machine start [options]

Options:
  -p, --port <port>    포트 번호 (κΈ°λ³Έκ°’: 4000)
  -h, --host <host>    호슀트 μ£Όμ†Œ (κΈ°λ³Έκ°’: localhost)

init

debug-time-machine init [options]

Options:
  -n, --name <name>         ν”„λ‘œμ νŠΈ 이름
  -t, --template <template> ν…œν”Œλ¦Ώ (react, node, express)

예제

Create React App

debug-time-machine start-with-app "react-scripts start"

Vite

debug-time-machine start-with-app "vite --port 3000"

Next.js

debug-time-machine start-with-app "next dev"

package.json 슀크립트

{
  "scripts": {
    "start": "react-scripts start",
    "debug": "debug-time-machine start-with-app 'react-scripts start'"
  }
}

그러면 λ‹€μŒκ³Ό 같이 μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€:

npm run debug