Summary:
Release note: none
Issue: #907
- Set up AdapterChannel object to read and write to Prepack
- Changed Prepack DebugChannel to read and write in the same format
- Implement init, stopped, terminated events
- Implement set breakpoints end to end
The adapter will hold a queue to store requests to Prepack that came from the UI. When Prepack is ready to receive a request, the adapter will send a request from the queue through this AdapterChannel.
Closes https://github.com/facebook/prepack/pull/1091
Differential Revision: D6174872
Pulled By: JWZ2018
fbshipit-source-id: 63c0ebf32bd76d7c6214c5a294b38e07c6be51f7
Summary:
Release notes: none
- Add defined flow libs
- Starting with vscode-debugadapter and vscode-debugprotocol
- vscode-debugprotocol obtained from public Nuclide open source
- vscode-debugadapter generated using https://github.com/joarwilk/flowgen and modified
Test Plan:
`yarn flow`
Closes https://github.com/facebook/prepack/pull/1095
Differential Revision: D6106213
Pulled By: JWZ2018
fbshipit-source-id: f1a50c835ed36dd43326d6c273ea73ec80d3c0cc