chakra-core / chakra-core/ChakraCore
Debugger: Add support for breaking in debugger on unhandled promise rejection
Open
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
Assessment
This issue has not been assessed yet.