Skip to content

Commit

Permalink
Update installation and debugging instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
korbinian90 committed Dec 9, 2023
1 parent 0a832a2 commit 49bbe3a
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,26 @@ If niivue-vscode fails to open any of these files, please create an issue.
- Clone [this repository](https://github.com/korbinian90/vscode-niivue) and open in VSCode
- Run inside the `vscode-niivue` folder

### Installing

```bash
yarn install:all
```

### Hot Reload Development in browser

```bash
yarn start:webview
```

### Debugging the extension in vscode

This requires a full compilation and is slow

```bash
npm install
npm run watch
yarn run watch
```

- Press `F5` (a new VSCode window opens)
- Test the extension in the new window by opening an image file
- Press `Ctrl+R` for reload after a code change
- Press `F5` (a new VSCode window opens: Extension Development Host)
- Test the extension in the Extension Development Host by opening an image file
- Press `Ctrl+R` in the Extension Development Host for reload after a code change

0 comments on commit 49bbe3a

Please sign in to comment.