Something like this leads to the promise pending in the debugger console. If you remove the debugger or wait until the second console.log, you get a result that you can clic