Chrome devtools文件系统/工作区问题 [英] Chrome devtools filesystem/workspace problem

查看:199
本文介绍了Chrome devtools文件系统/工作区问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了一件愚蠢的事.在devsources(在macOS Sierra 10.12上为Chrome 69)在源>文件系统>将文件夹添加到工作区"下,我意外地尝试将系统根目录(/)添加为文件夹.

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.

现在,每当我打开devtools时,Chrome和mtmfs(Mobile Time Machine文件系统守护程序)都将使用100%的CPU.

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...)

推荐答案

我希望设置">首选项"底部的还原默认值并重新加载"将清除此问题.

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

如果这不起作用,您可以根据自己的喜好使用 jq 进行手术.退出Chrome,然后:

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 

这篇关于Chrome devtools文件系统/工作区问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆