Skip to content

Inspect - sources aren't visible in Node v10.9.0 #23152

Closed
@ravishivt

Description

@ravishivt
  • Version: v10.9.0
  • Platform: Linux backend 4.9.93-linuxkit-aufs deps: update openssl to 1.0.1j #1 SMP Wed Jun 6 16:55:56 UTC 2018 x86_64 Linux
  • Subsystem: unknown (maybe inspector?)

Upgrading from Node v10.8.0 to v10.9.0 causes a loss of visibility on generated source files in Chrome's DevTools -> Sources Tab. Chrome doesn't show any of my source files that are compiled after the debugger connects. For example, I run jest+ts-jest that compiles my tests and source files and none of these generated files are visible in chrome devtools:

node --inspect-brk=0.0.0.0:9230 node_modules/.bin/jest --no-cache --runInBand --config ./config/jest.config.js --watch

In v10.8.0:

image

In v10.9.0:

image

This issue happened specifically when upgrading from node v10.8.0 to v10.9.0. Downgrading back to v10.8.0 fixes the issues. I also verified that v10.10.0 and v10.11.0 have the same issue. I tried to find features/fixes introduced in v10.9.0 that could be related and the closest I found is #21975. Could this be the source of the problem?

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