Skip to content

internal error in node debugger while debuging node/mysql code #21576

Closed
@coderhard

Description

@coderhard

Node debugger terminated with an error as I was stepping through, better yet, after, my program terminated because of an error in my code. My code was just sample code contained in

  1. https://www.w3schools.com/nodejs/nodejs_mysql_create_table.asp

Precisely:
I was just holding down the "enter" key to get the debugger to hurry up and get to the part where my mysql-based node app throws an error.
I was holding the enter key for several seconds after by program through the error.
It seemed to have returned back the "debug>" prompt, but not returned control to stdin/tty.
It became unresponsive until printing ten "Program terminated" error lines
Then the node debugger finally issued the final error message about the debugger

.There was an internal error in Node's debugger. Please report this bug.
connect ECONNREFUSED
Error: connect ECONNREFUSED
at errnoException (net.js:901:11)
at Object.afterConnect [as oncomplete] (net.js:892:19)

node_debugger_output.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidIssues and PRs that are invalid.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions