Chrome DevTools/Firebug:如何使用缓存清除来保留断点

Eog*_*anM 6 firebug browser-cache google-chrome-devtools

我在JavaScript文件上开发了非常简单的缓存清理功能,因此每次进行更改时,浏览器都会拥有最新版本.基本上:

cache_buster = ''
if is_development:
   cache_buster = '-' + file_modified_timestamp_of('/dev/myproject/js/myfile.js')
out += '<script src="/js/myfile' + cache_buster + '.js" />'
Run Code Online (Sandbox Code Playgroud)

(开发服务器将请求映射/js/myfile-[0-9]+.js/js/myfile.js磁盘上)

我的问题是,每次在javascript文件中设置断点时,断开点都会在源文件更改时丢失.

有没有办法记住或坚持Chrome DevTools或Firebug中的断点,这些断点可以在这种文件名更改后存活下来?

或者是否有一种优越的技术可以实现这两个相反的目标(缓存破坏和断点持续存在)?