This page contains specific Emscripten-related techniques.

Debugging out-of-memory problems
A common bug to diagnose with Emscripten is where a big game fails due to an out of memory error (OOM) somewhere during load time. By the time about:memory is loaded in a new tab and you have clicked the "Measure" button to diagnose what's happened, the memory usage causing the spike has gone away, making temporary memory spikes difficult to diagnose. This article explains how to debug such problems.