Commit Graph

2 Commits

Author SHA1 Message Date
Wuhan Zhou
f7025fc2ed Set up adapter communication channel with Prepack
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
2017-10-27 12:54:08 -07:00
Wuhan Zhou
ec37d26b64 Set up flow-libs
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
2017-10-19 17:12:49 -07:00