John Wong
John Wong

Reputation: 352

Chrome dev tools sources of localhost disappeared

Sources of localhost:8080 disappeared in dev tools. When I open in incognito window, sources show again. Does anyone know why they disappeared?

enter image description here

Versions:

OSX 10.11.2
Chrome 47.0.2526.111 (64-bit)

Upvotes: 0

Views: 2443

Answers (1)

Garbee
Garbee

Reputation: 10991

See the little folder icon beside www in your screenshot? This indicated a local workspace has been setup. You have most likely mapped the remote (localhost:8080) resources to that workspace. Which, then tells DevTools not to show those sources since they get mapped into that directory.

To verify this, go to your DevTools Settings (F1) then to the "Workspaces" tab. From there, check any setup workspaces for their mapped resources. You can then remove mappings if needed and try reloading the page again. If on a reload the sources are shown, then this confirms remote mapping to a local workspace was the source of hiding the remote tree.

Upvotes: 2

Related Questions