I came across well known problem when debugging javascript in Chrome browser, described in this question Why does Chrome debugger think closed local variable is undefined?
The problem described there seems to be caused by the optimization done by v8 engine in Chrome. The workaround mentioned there is not very user (programmer) friendly.
So I was wondering is there some way to completely turn off v8 optimization in Chrome devtools when debugging javascript in my web application?