For jsdebug, do not attempt to interate over a reference to the global context.
Fixes a crash in campaign when starting jsdebug.