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

Cannot start Node.js function with debugger enabled #4344

Open
jsumners-nr opened this issue Mar 28, 2025 · 0 comments
Open

Cannot start Node.js function with debugger enabled #4344

jsumners-nr opened this issue Mar 28, 2025 · 0 comments

Comments

@jsumners-nr
Copy link

local.settings.json:

{
  "IsEncrypted": false,
  "Values": {
    "FUNCTIONS_WORKER_RUNTIME": "node",
    "AzureWebJobsStorage": "",
    "languageWorkers__node__arguments": "--inspect-brk"
  }
}

With that configuration set, func start will result in:

Starting inspector on 127.0.0.1:9229 failed: address already in use

If I set --inspect-brk=9330 then the same error occurs with a different port. How do I start this thing with the debugger available?

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

No branches or pull requests

1 participant