Hosted examples in debug mode

This PR makes it possible to run the hosted examples in full debug mode.

Example: http://erilem.net/ol3/examples/side-by-side.html?renderer=canvas&mode=debug