Breakpoints help you understand available variables and their values, one at a time in your code, and see when the code is executed. Let's see how.
ol.js reference to
ol-debug.js (more readable).
Set breakpoints in the HTML page at
map.setView. Check the following ...