change to this file were not saved to file system error in google chrome version 30.0.1599.101 m

前端 未结 7 1127
心在旅途
心在旅途 2021-02-01 02:23

Image Notification

In the google chrome version 30.0.1599.101 m i am not able to save the changed js file. On saving the js file i got yellow triangle symbol with \"chan

7条回答
  •  北荒
    北荒 (楼主)
    2021-02-01 02:46

    Something to note: if you are making dynamically loaded JS available in devtools via the helpful: //# sourceURL=Example.js comment, this network to local mapping will not work.

    Note: Notice the "//# sourceURL=dynamicScript.js" line at the end of dynamicScript.js file. This technique gives a name to a script created with eval, and will be discussed in more detail in the Source Maps section. Breakpoints can be set in dynamic JavaScript only if it has a user supplied name.

    https://developer.chrome.com/devtools/docs/javascript-debugging

    When you're using sourceURL, you can't actually find the respective JS file in the Sources tree where you might expect it to exist. It is available to open via the "no-domain" tree, however (or quick open with CTRL/CMD+P).

    I'm still looking for a solution.

提交回复
热议问题