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

Failed to start inspector server at "127.0.0.1:9229" #1118

Open
ooker777 opened this issue May 20, 2024 · 0 comments
Open

Failed to start inspector server at "127.0.0.1:9229" #1118

ooker777 opened this issue May 20, 2024 · 0 comments

Comments

@ooker777
Copy link

ooker777 commented May 20, 2024

I was debugging normally, then this bug happened. Here is the error when debugging a simple console.log('a'):

error: Failed to start inspector server at "127.0.0.1:9229"

Caused by:
    Only one usage of each socket address (protocol/network address/port) is normally permitted. (os error 10048)

Stack backtrace:
   0: onig_get_string_end_by_callout_args
   1: onig_builtin_fail
   2: onig_get_capture_tree
   3: napi_fatal_error
   4: napi_fatal_error
   5: onig_get_regex_by_callout_args
   6: napi_release_threadsafe_function
   7: napi_delete_reference
   8: napi_fatal_error
   9: onig_get_regex_by_callout_args
  10: napi_release_threadsafe_function
  11: onig_unicode_define_user_property
  12: BaseThreadInitThunk
  13: RtlUserThreadStart
Process exited with code 1

launch.json:

{
  "version": "0.2.0",
  "configurations": [
    {
      "request": "launch",
      "name": "Launch Program",
      "type": "node",
      "program": "${file}",
      "cwd": "${workspaceFolder}",
      "runtimeExecutable": "C:\\Users\\ganuo\\AppData\\Local\\Microsoft\\WinGet\\Links\\deno.EXE",
      "runtimeArgs": [
        "run",
        "--inspect-brk",
        "--allow-all",
        "--unstable-kv"
      ],
      "attachSimplePort": 9229,
      "env": {
        "RUST_BACKTRACE": "full"
      }
    }
  ]
}

VS Code: 1.89.1, Deno: 1.43.5, extension: 3.37.1

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

1 participant