https://github.com/domiii/replay-vscode
Replay in VSCode
https://github.com/domiii/replay-vscode
Last synced: 17 days ago
JSON representation
Replay in VSCode
- Host: GitHub
- URL: https://github.com/domiii/replay-vscode
- Owner: Domiii
- License: mit
- Created: 2023-11-10T16:35:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-14T12:43:27.000Z (about 2 years ago)
- Last Synced: 2025-01-17T17:59:47.794Z (12 months ago)
- Language: TypeScript
- Size: 1.64 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Replay in VSCode
This is a nice little prototype to demonstrate the theoretical potential of having Replay work in VScode.
## Dev Setup
* Preparations
* Set `$REPLAY_DIR` to point to your replay root directory.
* Clone replay devtools:
```sh
cd $REPLAY_DIR && git clone https://github.com/replayio/devtools.git
```
* When you install the first time:
```sh
cd $REPLAY_DIR
cd ./replay-vscode
yarn install
npm i -g yalc # Install yalc globally
yarn publish-devtools # publish some devtools packages to yalc
yarn link-devtools # establish linkage with locally yalc'ed devtools version
echo "Good to go!"
```
* Normal dev cycle:
* Open this in VSCode.
* Change code...
* Press F5 to run and debug!
* NOTE: F5 will run a background `webpack watch` task in a terminal tab (CTRL/Command + \`). Make sure to monitor it when things go awry.