1jasmine.DEFAULT_TIMEOUT_INTERVAL = 20000; 2 3let Debugger = null; 4const LoadDebugger = new Promise(function(resolve, reject) { 5 if (Debugger) { 6 resolve(); 7 } else { 8 DebuggerInit({ 9 locateFile: (file) => '/debugger/bin/'+file, 10 }).then((_Debugger) => { 11 Debugger = _Debugger; 12 resolve(); 13 }); 14 } 15});