As said by @jtrick, use the comment:
//# sourceURL=filename.js
it is the best way to obtain the persistence of breakpoints between page refreshes and also between closing and reopening of chorme, even in versioned (to have control over browser cache) or dynamically included javascript/css files.
This is the updated reference link:
While not part of the Source Map spec, the @sourceURL allows you to
make development much easier when working with evals. This helper
looks very similar to the //# sourceMappingURL property and is
actually mentioned in the Source Map V3 specifications.
By including the following special comment in your code, which will be
evaled, you can name evals and inline scripts and styles so they
appear as more logical names in your DevTools.
//# sourceURL=source.coffee
If you have a server-side cache for the versioned files served to the browser, you can append the comment in the source code at the time of the cache generation, without having to modify the original source files.
NOTE: on the comment you can also specify a virtual path to the file, this way you can organize your dynamically loaded or versioned content on a tree displayed in chrome devtools
> navigator panel
> sources
> page
treeview. I.e.:
//# sourceURL=https://yourdomain.com/libs/ui/widget.js