- browser javascript debuggers cannot inspect dynamic loaded javascript
because such scripts have no name (they are created with eval). The
comment //# sourceURL=name is a way to solve it.
-
https://developer.chrome.com/devtools/docs/javascript-debugging
Signed-off-by: Jose Ricardo Ziviani <joserz(a)linux.vnet.ibm.com>
---
ui/js/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui/js/Makefile.am b/ui/js/Makefile.am
index c9d1218..c24feeb 100644
--- a/ui/js/Makefile.am
+++ b/ui/js/Makefile.am
@@ -23,5 +23,6 @@ dist_js_DATA = kimchi.min.js $(filter-out kimchi.min.js, $(wildcard
*.js))
kimchi.min.js: src/*.js
cat $(sort $^) > $@
+ echo "//# sourceURL=kimchi.min.js" >> $@
CLEANFILES = kimchi.min.js
--
1.9.1