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

No such file or directory . Make sure Node.js is installed and in your PATH, or set the "runtimeExecutable" in your launch.json #107533

Closed
zztiswb116 opened this issue Sep 27, 2020 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@zztiswb116
Copy link

zztiswb116 commented Sep 27, 2020

  • VSCode Version:
  • OS Version: Darwin Lee.local 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64 macos Catalina 10.15.4

Version: 1.49.2
Commit: e5e9e69
Date: 2020-09-24T16:23:52.277Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Darwin x64 19.4.0

Steps to Reproduce:

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Debug Main Process",
      "type": "node",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
      "windows": {
        "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
      },
      //"stopOnEntry": true,
      "sourceMaps": true,
      "program": "${workspaceFolder}/dist/electron/main.js",
      "protocol": "inspector",
      "args" : ["."]
    },
    {
      "name": "Electron: Renderer",
      "type": "chrome",
      "request": "attach",
      "port": 9223,
      "webRoot": "${workspaceFolder}",
      "timeout": 30000
    }
  ]
}

Does this issue occur when all extensions are disabled?: Yes/No

ERROR:

image

when I add debug.javascript.usePreview: false to my settings happend new error

image

help!!!!!!!!!!!

@connor4312
Copy link
Member

Please see here for guidance microsoft/vscode-js-debug#717 (comment)

/duplicate

@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

4 participants
@isidorn @connor4312 @zztiswb116 and others