原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

MCP Debugger

作者:Digital-Defiance版本 1.1.8i★ 4i在你的电脑上运行
注册名称io.github.Digital-Defiance/mcp-debugger

安装方法

What it does

Node.js and TypeScript debugging with 25+ tools for AI agents

  • Connects 在你的电脑上运行
  • Account or key No key needed
  • Category 开发者工具

安装

选择你使用的 AI 应用,然后复制设置。

通过 2/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月13日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server MCP Debugger,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "debugger": { "command": "npx", "args": [ "-y", "@ai-capabilities-suite/mcp-debugger-server" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 MCP Debugger 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  3. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "debugger": {
          "command": "npx",
          "args": [
            "-y",
            "@ai-capabilities-suite/mcp-debugger-server"
          ]
        }
      }
    }
  4. 退出 Claude 再重新打开

  5. 试一试

    用 MCP Debugger 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 MCP Debugger,或回答中出现 MCP Debugger 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 MCP Debugger

MCP Debugger 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 MCP Debugger 的应用

  • 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要先在电脑上安装 Node.js(只需一次)
  • 需要先在电脑上安装 Node.js(只需一次)
  • 需要先在电脑上安装 Node.js(只需一次)

B · 开发者工具 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server MCP Debugger,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user debugger -- npx -y @ai-capabilities-suite/mcp-debugger-server 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 MCP Debugger 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  3. 粘贴这条命令并按 Enter

    claude mcp add --scope user debugger -- npx -y @ai-capabilities-suite/mcp-debugger-server
  4. 在 Claude Code 中输入 /mcp

    应能看到 MCP Debugger 在列表中并显示已连接

  5. 试一试

    用 MCP Debugger 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 MCP Debugger,或回答中出现 MCP Debugger 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server MCP Debugger,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "debugger": { "command": "npx", "args": [ "-y", "@ai-capabilities-suite/mcp-debugger-server" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 MCP Debugger 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  3. 在 Cursor 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 MCP Debugger 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 MCP Debugger,或回答中出现 MCP Debugger 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server MCP Debugger,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "debugger": { "type": "stdio", "command": "npx", "args": [ "-y", "@ai-capabilities-suite/mcp-debugger-server" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 MCP Debugger 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  3. 在 VS Code 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 MCP Debugger 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 MCP Debugger,或回答中出现 MCP Debugger 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 MCP Debugger 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user debugger -- npx -y @ai-capabilities-suite/mcp-debugger-server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "debugger": {
      "command": "npx",
      "args": [
        "-y",
        "@ai-capabilities-suite/mcp-debugger-server"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "debugger": {
      "command": "npx",
      "args": [
        "-y",
        "@ai-capabilities-suite/mcp-debugger-server"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "debugger": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ai-capabilities-suite/mcp-debugger-server"
      ]
    }
  }
}

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
110/周
连接方式
在你的电脑上运行
最新版本i
1.1.8
发布到注册中心i
2025年12月6日
代码最后更新i
2026年3月29日
作者
Digital-Defiance
软件包
npm: @ai-capabilities-suite/mcp-debugger-server
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月15日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Digital-Defiance 验证,该账户拥有此仓库

  • ! 注意

    仍在维护

    代码最后更新于8个月前,已超过 6 个月

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

尚未检查

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 5916 个服务器的 83%
  • 发布到注册中心的时间比此分类中其他 5916 个服务器的 1% 更新
  • 基础检查结果等于或优于此分类中其他 5916 个服务器的 44%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

MCP Debugger 安全吗?

它在 3 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于8个月前,最新版本(1.1.8)于11个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitDiagram

Architecture diagrams, explanations and Mermaid source for public GitHub repositories.

作者:ahmedkhaleel2004广泛使用★ 1.9万2个月前更新

在云端运行✓ 服务方 · gitdiagram.comPopNx 团队已实际试用

Appllama

Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.

作者:Appllama广泛使用★ 51743个月前更新

在云端运行✓ 服务方 · appllama.io

Cloudflare MCP

Cloudflare MCP servers

作者:cloudflare广泛使用★ 446614个月前更新

在云端运行✓ 服务方 · mcp.cloudflare.comPopNx 团队已实际试用

Omnara

Deploy durable AI agents with Omnara, an open-source managed-agent platform.

作者:omnara-ai广泛使用★ 34002个月前更新

在云端运行✓ 服务方 · omnara.com

Repowise

Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.

作者:repowise-dev广泛使用↓ 6506/周★ 8138 整个仓库的星标前天更新

电脑或云端✓ 服务方 · repowise.dev
  • GitDiagram — 在云端运行,无需安装 · 不需要密钥
  • Appllama — 在云端运行,无需安装 · 不需要密钥
  • Cloudflare MCP — 在云端运行,无需安装 · 不需要密钥 · 在 Claude 的目录中
  • Omnara — 在云端运行,无需安装 · 不需要密钥
  • Repowise — 云端或安装在电脑上都可以 · 不需要密钥

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

MCP ACS Debugger Server

🔗 Repository

This package is now maintained in its own repository: [https://github.com/Digital-Defiance/mcp-debugger-server](https://github.com/Digital-Defiance/mcp-debugger-server)

This repository is part of the AI Capabilitites Suite on GitHub.

An enterprise-grade Model Context Protocol (MCP) server that provides comprehensive debugging capabilities for Node.js and JavaScript applications via Chrome DevTools Protocol. This server enables AI agents (Kiro, Amazon Q, GitHub Copilot) to interactively debug Node.js code with 25+ specialized tools, offering everything from basic breakpoint management to advanced CPU/memory profiling and hang detection. For multi-language debugging (Python, Java, Go, etc.), use the VS Code extension which leverages Debug Adapter Protocol.

🎯 Key Features

Core Debugging Capabilities
  • Node.js/JavaScript Support: Debug Node.js applications and JavaScript code via Chrome DevTools Protocol
  • TypeScript Support: Full TypeScript debugging with source map resolution
  • Breakpoint Management: Set, remove, toggle, and list breakpoints with optional conditions, hit counts, and logpoints
  • Execution Control: Continue, step over, step into, step out, and pause execution with precise control
  • Variable Inspection: Inspect local and global variables, evaluate expressions, and watch variables with change detection
  • Call Stack Navigation: View and navigate through call stack frames with context switching
Advanced Features
  • Hang Detection: Detect infinite loops and hanging processes with configurable timeouts and sampling intervals
  • Source Map Support: Full source map support for debugging TypeScript and transpiled JavaScript with original source locations
  • Performance Profiling: CPU profiling, memory profiling, heap snapshots, and performance timeline tracking
  • Test Framework Integration: Debug Jest, Mocha, and Vitest tests
  • Session Management: Support for multiple concurrent debug sessions with complete isolation
  • Chrome DevTools Protocol: Direct integration with Node.js Inspector Protocol for low-level debugging
Enterprise Features
  • Observability: Structured logging, metrics collection, health check endpoints, and Prometheus metrics export
  • Security: Authentication, rate limiting, sensitive data masking, audit logging, and session timeout enforcement
  • Production Ready: Circuit breakers, retry logic with exponential backoff, graceful shutdown, and resource limits
  • Monitoring: Performance metrics, session recording, and comprehensive error tracking

📦 Installation

System Requirements
  • Node.js: >= 18.0.0
  • NPM: >= 8.0.0
  • Operating Systems: macOS, Linux, Windows
  • CPU Architectures: x64, arm64
Quick Start (NPM - Recommended)
# Install globally

npm install -g @ai-capabilities-suite/mcp-debugger-server

Verify installation

ts-mcp-server --version

Alternative Installation Methods
Using NPX (No Installation Required)
# Run directly without installing

npx @ai-capabilities-suite/mcp-debugger-server

Using Docker
# Pull and run the Docker image

docker pull digitaldefiance/mcp-debugger-server:latest docker run -d --name mcp-debugger digitaldefiance/mcp-debugger-server:latest

Or use docker-compose (see DOCKER-DEPLOYMENT.md)

docker-compose up -d

From Source
# Clone the repository

git clone https://github.com/digital-defiance/ai-capabilities-suite.git cd ai-capabilities-suite

Install dependencies

npm install

Build the packages

npx nx build @ai-capabilities-suite/mcp-debugger-core npx nx build @ai-capabilities-suite/mcp-debugger-server

Run the server

node packages/mcp-debugger-server/dist/src/cli.js

⚙️ Configuration

Kiro Configuration

Add to .kiro/settings/mcp.json:

{

"mcpServers": { "debugger": { "command": "ts-mcp-server", "args": [], "env": { "NODE_ENV": "production" }, "disabled": false, "autoApprove": [ "debugger_start", "debugger_set_breakpoint", "debugger_continue", "debugger_step_over", "debugger_inspect", "debugger_get_stack" ] } } }

Claude Desktop Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{

"mcpServers": { "debugger": { "command": "ts-mcp-server", "args": [] } } }

VS Code Configuration

Add to .vscode/settings.json:

{

"mcp.servers": { "debugger": { "command": "ts-mcp-server", "args": [], "enabled": true } } }

Environment Variables

Optional environment variables for advanced configuration:

# Enable debug logging

DEBUG=mcp:*

Set custom timeout (milliseconds)

MCP_DEBUGGER_TIMEOUT=60000

Enable authentication

MCP_DEBUGGER_AUTH_TOKEN=your-secret-token

Enable rate limiting

MCP_DEBUGGER_RATE_LIMIT=100

Enable audit logging

MCP_DEBUGGER_AUDIT_LOG=true

🛠️ Available Tools

The MCP ACS Debugger Server provides 25 specialized tools organized into 8 categories:

Session Management
1. debugger_start

Start a new debug session with a Node.js process.

Parameters:

  • command (string, required): The command to execute (e.g., "node", "npm")
  • args (string[], optional): Command arguments (e.g., ["test.js"])
  • cwd (string, optional): Working directory for the process
  • timeout (number, optional): Timeout in milliseconds (default: 30000)

Example:

{

"command": "node", "args": ["app.js"], "cwd": "/path/to/project", "timeout": 30000 }

Response:

{

"status": "success", "sessionId": "session-123", "state": "paused", "pid": 12345 }

2. debugger_stop_session

Stop a debug session and cleanup all resources.

Parameters:

  • sessionId (string, required): The debug session ID

Example:

{

"sessionId": "session-123" }

Breakpoint Management
3. debugger_set_breakpoint

Set a breakpoint at a specific file and line number.

Parameters:

  • sessionId (string, required): The debug session ID
  • file (string, required): The file path (absolute or relative)
  • line (number, required): The line number (1-indexed)
  • condition (string, optional): Optional condition expression (e.g., "x > 10")

Example:

{

"sessionId": "session-123", "file": "/path/to/file.js", "line": 42, "condition": "count > 5" }

4. debugger_remove_breakpoint

Remove a breakpoint from the session.

Parameters:

  • sessionId (string, required): The debug session ID
  • breakpointId (string, required): The breakpoint ID to remove
5. debugger_toggle_breakpoint

Toggle a breakpoint between enabled and disabled states.

Parameters:

  • sessionId (string, required): The debug session ID
  • breakpointId (string, required): The breakpoint ID to toggle
6. debugger_list_breakpoints

Get all breakpoints for a debug session.

Parameters:

  • sessionId (string, required): The debug session ID

Response:

{

"status": "success", "breakpoints": [ { "id": "bp-1", "file": "/path/to/file.js", "line": 42, "condition": "x > 10", "enabled": true, "verified": true } ] }

Execution Control
7. debugger_continue

Resume execution until the next breakpoint or program termination.

Parameters:

  • sessionId (string, required): The debug session ID
8. debugger_step_over

Execute the current line and pause at the next line in the same scope.

Parameters:

  • sessionId (string, required): The debug session ID
9. debugger_step_into

Execute the current line and pause at the first line inside any called function.

Parameters:

  • sessionId (string, required): The debug session ID
10. debugger_step_out

Execute until the current function returns and pause at the calling location.

Parameters:

  • sessionId (string, required): The debug session ID
11. debugger_pause

Pause a running debug session.

Parameters:

  • sessionId (string, required): The debug session ID
Variable Inspection
12. debugger_inspect

Evaluate a JavaScript expression in the current execution context.

Parameters:

  • sessionId (string, required): The debug session ID
  • expression (string, required): The JavaScript expression to evaluate

Example:

{

"sessionId": "session-123", "expression": "user.name + ' ' + user.age" }

13. debugger_get_local_variables

Get all local variables in the current scope.

Parameters:

  • sessionId (string, required): The debug session ID
14. debugger_get_global_variables

Get global variables accessible from the current scope.

Parameters:

  • sessionId (string, required): The debug session ID
15. debugger_inspect_object

Inspect an object's properties with nested resolution.

Parameters:

  • sessionId (string, required): The debug session ID
  • objectId (string, required): The object ID from a previous inspection
  • maxDepth (number, optional): Maximum depth to traverse (default: 2)
Variable Watching
16. debugger_add_watch

Add an expression to the watch list.

Parameters:

  • sessionId (string, required): The debug session ID
  • expression (string, required): The expression to watch
17. debugger_remove_watch

Remove an expression from the watch list.

Parameters:

  • sessionId (string, required): The debug session ID
  • watchId (string, required): The watch ID (expression) to remove
18. debugger_get_watches

Get all watched expressions with their current values.

Parameters:

  • sessionId (string, required): The debug session ID
Call Stack
19. debugger_get_stack

Get the current call stack with function names and file locations.

Parameters:

  • sessionId (string, required): The debug session ID

Response:

{

"status": "success", "stack": [ { "function": "myFunction", "file": "/absolute/path/to/file.js", "line": 42, "column": 10 } ] }

20. debugger_switch_stack_frame

Switch the execution context to a specific stack frame.

Parameters:

  • sessionId (string, required): The debug session ID
  • frameIndex (number, required): The frame index (0 = top frame)
Hang Detection
21. debugger_detect_hang

Detect if a process hangs or enters an infinite loop.

Parameters:

  • command (string, required): The command to execute
  • args (string[], optional): Command arguments
  • cwd (string, optional): Working directory
  • timeout (number, required): Timeout in milliseconds
  • sampleInterval (number, optional): Sample interval for loop detection (default: 100ms)

Example:

{

"command": "node", "args": ["script.js"], "timeout": 5000, "sampleInterval": 100 }

Response (hung):

{

"status": "success", "hung": tr

只显示了开头部分;其余内容请在仓库中阅读