Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Symbols & BigInts in the debugger
Summary: Add full functionality for `Symbol`s and `BigInt`s in the debugger. Note- using the [protocol monitor](https://umaar.com/dev-tips/166-protocol-monitor/) was the most reliable way of figuring out which fields exactly need to be set for these types to play nicely in DevTools. I brought up the monitor and then used the regular, standard chrome console with the functionality I wanted: - Evaluating `Symbol` and `BigInt` literals, like `Symbol.for("a")` and `1n` - Right-click save the resulting expressions From there, I inspected the CDP messages being sent. Then I was able to fill in the correct fields from there, and be confident that those were correct, given that I was copying the exact behavior of Chrome itself. Changelog: [General][Fixed] Support properly sending BigInts and Symbols over the Chrome DevTools Protocol. Reviewed By: neildhar, jpporto Differential Revision: D40442228 fbshipit-source-id: 98a514edbeb35fcbd427a25475f435e22956f2db
- Loading branch information