Debug JS from browser without a server/localhost
Posted
by
sazpaz
on Super User
See other posts from Super User
or by sazpaz
Published on 2012-10-28T21:42:47Z
Indexed on
2012/10/28
23:08 UTC
Read the original article
Hit count: 329
So something I do very frequently is writing random scripts in JS without really being part of an app. To run them I just paste them in the console of either Chrome of FF which works as a nice REPL, or if I really need more fancy debugging I just add it to my test app on localhost and browse it from the browser. Is there a way to get all the good debugging of a browser (breakpoints, locals, etc), without it being served from a server?, e.g by just copy-pasting my code into console or something?
© Super User or respective owner