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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -