3 ms·
is there a way to debug promises in any of these debuggers? i.e. get a promise to resolve when stopped at a breakpoint?
by mlevental 8y ago
is there a way to debug promises in any of these debuggers? i.e. get a promise to resolve when stopped at a breakpoint?
- giobox 8y agoThe “Smart Step” feature they added to the debugger a while back might be what you are looking for. > https://code.visualstudio.com/updates/vApril#_smart-code-stepping https://code.visualstudio.com/updates/vApril#_smart-code-ste...
- mlevental 8y agono this isn't it. i'm saying i want to be able to "run" a promise while stopped at breakpoint
- EGreg 8y agoHow do I make my code not trigger the debugger breakpoint whenever a promise fails? I get that the fail isn’t being handled but isn’t there to make a default handler in that case?