kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.11k stars 364 forks source link

Add //# sourceURL=kimchi.min.js when creating kimchi.min.js #843

Closed jrziviani closed 8 years ago

jrziviani commented 8 years ago

In order to debug dynamically loaded javascript code it's necessary to add

//# sourceURL=kimchi.min.js

at the end of the source file.

Source: https://developer.chrome.com/devtools/docs/javascript-debugging Breakpoints in Dynamic JavaScript

jrziviani commented 8 years ago

Sent patch to implement it upstream.

image

alinefm commented 8 years ago

Fixed by 3de4eed7ef7685dd03c1b74fae38fe229c15a16c