chakra-core / chakra-core/ChakraCore

Debugger: Add support for breaking in debugger on unhandled promise rejection

Open
#5,370 0 comments 0 reactions 0 assignees View on GitHub
Task
Dominant language
JavaScript
Stars
9.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

When we have a promise rejection and we don't have any reject handlers hooked up, we should break in the debugger if 2nd-chance exceptions are enabled. Alternatively, we should provide a 2nd option which is to "break on unhandled rejections".

May potentially need to do some coordination w/ dev tools team to ensure this lights up correctly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.