ga-wdi-boston/browser-template-ARCHIVED

maps issue

Closed this issue · 2 comments

Ethan was attempting to look for a defined variable, he put a debugger in right after and it was show as not defined. Web pack was uglyifying. Console.log work, breakpoint worked, but debugger didn't work. Doesn't work in chrome, works in safari, not in chrome canary.... Chrome bug?

Fixed by acb0187.

Leaving open for dicsussion.

Basically, Chrome doesn't like the eval strategy of resolving original source. I think it might be related to the fact that Chrome has a separate debugger scope as an optimization. So even though eval works for translating compiled JS to original source lines, that is not the context in which the debugger eval's.

@gaand closing as obsolete