Chrome的映射文件系统资源在更新后不起作用 [英] Chrome's map to file system resource not working after update
问题描述
我可以向工作区添加一个文件夹(据我所知,这似乎没有做任何事情),但映射到文件系统资源选项似乎已被删除,我无法再继续live-edit css文件。
这是一个错误,还是映射css文件的过程已被更改?
此演讲(
I can add a folder to the workspace (which doesn't seem to do anything, as far as I can tell), but the "map to file system resource" option seems to have been removed, and I can no longer live-edit css files.
Is this a bug, or has the process for mapping css files been changed?
This talk (https://developers.google.com/web/updates/2017/10/devtools-release-notes) says that the new version uses "magic" to map remote files to local ones, but I can't seem to get it to work at all.
For reference, I'm trying to map a reddit css file to one on my own computer. It worked fine on a previous version of Chrome (basically I add the folder, and map the css file inside it, which has been renamed to have the same name as the remote one) but not on the new one (Chrome 63)
I had the same problem so I downgraded to Chrome 62 (preferences, history, extensions and so on are preserved).
- Download Chrome 62 from
https://www.slimjet.com/chrome/google-chrome-old-version.php . - On OS X trash /Applications/Google Chrome.
- Switch off auto-update by setting "defaults write com.google.Keystone.Agent alwaysPromptForUpdates 1". Default is 0.
- May be you have to set "defaults write com.google.Keystone.Agent checkInterval 0" too. Default is 18000.
- Install Chrome 62 as usual.
After starting Chrome 62 open "About Google Chrome". Chrome is checking for updates, but will prompt you to confirm.
这篇关于Chrome的映射文件系统资源在更新后不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!