Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
martin6188y@ElectricCoffee Nope, or the console.log() immediately before the debugger statement wouldn't log correctly.
I'm pretty sure it's a Chrome bug -
@martin have you tried running your code in Firefox to see if it acts differently?
-
martin6188y@ElectricCoffee nope. It's never going to run in Firefox (it's running in a chromium instance on some in-house software) and I can continue working anyway
> Am writing code
> Life is good
> Add debugger keyword
> Script pauses
> Type in var name... Undefined.
> ...What?
> Check out local scope. It's there. What the fuck?
> Add console.log(myVariable)
> Refresh
> Logs variable no problem. Cool.
> Type in my var name
> Undefined
FFFUUUUUUU-
undefined