google chrome devtools - Is it possible to replace JavaScript snippets on the fly through Firebug -


is there way replace line(s) of code js file, through firebug/chrome devtools. know possible swap css classes. possible js?

for example know line causing js error,

if(somevar.length == 10) 

so want swap with

if(somevar && somevar.length == 10) 

my intention have quick fix demo on production server, before getting started bug fix.

chrome devtools supports feature, called live edit there.


Comments

Popular posts from this blog

php - Dynamic url re-writing using htaccess -

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -