Automatic source mapping does not work with node --inspect
Reported by
gti...@wikimedia.org,
Oct 26 2017
|
|||
Issue descriptionDevTools failed to link network resource to filesystem. Platform: Linux (Ubuntu 16.04.3) Chrome version: 61.0.3163.100 What are the details of your project? - Source code (if any): https://github.com/wikimedia/restbase/ - Build System: - - HTTP server: node I have enabled the experimental feature Persistence 2.0. Assets failed to link (or incorrectly linked): Running node on a vagrant box with --inspect. The files are in an NFS shared folder accessible to both guest and host. With manual mapping (file:///path/on/guest -> file:///path/on/host) this worked well; with automatic mapping it doesn't and there does not seem to be any way to disable it. If possible, please attach a screenshot of network sources navigator which should show which resources failed to map All of them. There is a separate Filesystem and Network tab; Chrome does not recognize that they contain the same files. I'm debugging something that requires server restart between debug runs; this makes DevTools impossible to use as the network tab is emptied on each server restart, and files are only added as they are encountered by node, so there is no way to set breakpoints (and they do not persist automatically).
,
Oct 31 2017
,
Dec 10 2017
Can you please check if it works for you on latest chrome canary? I use node debugging + persistence pretty often it always worked for me.
,
Dec 8
Workspaces 2.0 is imperfect and there's no feasible way to make it work for everybody. Archiving since we currently don't have resources to allocate towards improving Workspaces story. |
|||
►
Sign in to add a comment |
|||
Comment 1 by sc00335...@techmahindra.com
, Oct 26 2017Labels: Needs-Triage-M61 Triaged-ET OS-Linux