@@ -39,6 +39,9 @@ function debugModule(module, runtime) {
3939 else {
4040 runtime.notify(id, v, timestep);
4141 recordEvent(id, v, timestep);
42+ if (parent.window) {
43+ parent.window.postMessage("elmNotify", window.location.origin);
44+ }
4245 }
4346 };
4447
@@ -201,7 +204,8 @@ function debuggerInit(debugModule, runtime) {
201204 pause: pauseProgram,
202205 kontinue: continueProgram,
203206 getMaxSteps: getMaxSteps,
204− stepTo: stepTo
207+ stepTo: stepTo,
208+ getPaused: debugModule.getPaused
205209 };
206210
207211 return elmDebugger;