Chrome devtools filesystem/workspace problem

て烟熏妆下的殇ゞ 提交于 2019-12-11 18:12:23

问题


I did a stupid thing. In the devtools (Chrome 69 on macOS Sierra 10.12) under "Sources > Filesystem > Add folder to workspace", I accidentally tried to add my system root (/) as a folder.

Now whenever I open the devtools, Chrome and mtmfs (Mobile Time Machine file system daemon) goes to 100% CPU.

The folder list is empty, so is the list in "Settings > Workspaces".

Can I fix this situation somehow without deleting my current profile? (I like my current profile...)


回答1:


I would expect that "Restore defaults and reload" at the bottom of Settings > Preferences would clear this.

If that doesn't work, you could do surgery on your preferences with jq. Quit Chrome, then:

cd /path/to/Chrome/Default
mv Preferences Preferences.bak
jq 'del(.devtools.file_system_paths)' <Preferences.bak >Preferences 


来源:https://stackoverflow.com/questions/53705302/chrome-devtools-filesystem-workspace-problem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!