36
rated 0 times
[
40]
[
4]
/ answers: 1 / hits: 34087
/ 14 Years ago, thu, october 14, 2010, 12:00:00
On my production website, I have compiled Javascript.
<script src=/js/mycode.min.js></script>
It would be very convient for debugging if I could make my browser replace that with
<script src=http://localhost/js/mycode1.js></script>
<script src=http://localhost/js/mycode2.js></script>
...
I know I could manipulate the DOM using something like Greasemonkey userscripts, but I couldn't come up with a solution which would prevent the execution of mycode.min.js.
Any ideas?
More From » debugging