Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

谢谢作者,请问launch.json 怎么配置啊? #147

Open
MgSrdEer opened this issue Jan 21, 2025 · 1 comment
Open

谢谢作者,请问launch.json 怎么配置啊? #147

MgSrdEer opened this issue Jan 21, 2025 · 1 comment

Comments

@MgSrdEer
Copy link

MgSrdEer commented Jan 21, 2025

感谢开源。我想求教一个问题?

我进行了如下的launch.json 的配置,无法进入我的断点。

launch.json

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node", 
      "request": "launch", // 请求方式,有 launch(启动) 和 attach(附加) 两种
      "name": "Launch via NPM", 
      "runtimeExecutable": "npm", // 任务运行工具,'npm', 'mocha', 'gulp' 等
      "runtimeArgs": ["run-script", "dev"], // 传递给执行工具的可选参数
      // "skipFiles": ["<node_internals>/**"], // 跳过所有 Node.js 的内置模块
      "console": "internalConsole", // 指定启动控制器为外部终端
    }
  ]
}
@umbrella22
Copy link
Owner

参考置顶断点配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants