Skip to content

Chrome debugger for node doesn't work properly #33002

Closed
@Aplet123

Description

@Aplet123
  • Version: v14.0.0
  • Platform: Linux my-computer 5.3.0-46-generic #38~18.04.1-Ubuntu SMP Tue Mar 31 04:17:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
  • Subsystem: Node debugger.

What steps will reproduce the bug?

  1. Run node --inspect to start the debugger in a REPL.
  2. Find the node instance under "Remote Target" and click "inspect".
  3. Type something in the chrome debugger and hit enter (e.g. 1+1).

How often does it reproduce? Is there a required condition?

It consistently happens for v14.0.0 but not for v13.13.0 or any prior version.

What is the expected behavior?

Output is immediately shown pressing enter in the chrome devtools.

What do you see instead?

The statement is executed but no output is shown until you open up the running node instance and hit enter in the REPL itself. For example, if you run console.log("foo") in the chrome devtools, you can see that "foo" is logged to both devtools and the node REPL. However, if you run 1+1, the return value 2 is not displayed on the devtools until you hit enter in the node REPL.

Additional information

My chrome version is 84.0.4115.5 (Official Build) dev (64-bit).

Metadata

Metadata

Assignees

No one assigned

    Labels

    inspectorIssues and PRs related to the V8 inspector protocol

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions