Skip to content

Restarting Debugger Failing to Kill Nodemon #56756

Description

@p-rk
  • VSCode Version: 1.26.1
  • OS Version: MAC OS 10.12.6

Steps to Reproduce:

  1. Start Debugger fn + F5
  2. Restart debugger from the debugger panel. It first crashes the app and then tries to restart but it gets timeout saying this

Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:29557).

When i see in the integrated terminal it show me up

[nodemon] app crashed - waiting for file changes before starting...

My launch configuration

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Launch via Nodemon",
      "type": "node",
      "request": "launch",
      "runtimeExecutable": "nodemon",
      "program": "${workspaceFolder}/api/api.js",
      "restart": true,
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen",
      "env":{"NODE_ENV":"development"},
      "timeout": 10000
    },
  ]
}

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

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issues

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions