Skip to content

Commit

Permalink
Update README.md (#44)
Browse files Browse the repository at this point in the history
* Update README.md

Closes #16

* update testings in debug
  • Loading branch information
gr00vytvniks authored and sdankel committed Apr 17, 2024
1 parent 1df3449 commit 4865097
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Currently it gets activated once you open a file with `.sw` extension.

## Testing

Prior to testing make sure you have [`forc`](https://github.com/FuelLabs/sway/tree/master/forc) command exported as well.
Prior to testing make sure you have [`forc`](https://github.com/FuelLabs/sway/tree/master/forc) installed as well.

## Testing as a real installed extension

Expand All @@ -26,9 +26,8 @@ npm run install-extension
- Make sure that in `Run and Debug` Tab that "Launch Client" is selected - press F5 and new Visual Studio Code Debug Window will be opened.
- Within that Window open a `.sw` file like `main.sw` - which will activate `forc lsp`.

## Testing in Debug mode with the attached Server
## Testing in Debug mode with the attached Server _(This is only needed if you are developing the Server.)_

- (This is only needed if you are developing the Server.)
- Install this extension -> [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)
- Repeat the steps outlined in "Testing in Debug mode", then go back `Run and Debug` Tab, from the dropdown menu
choose "Sway Server" which will attach the server in the debug mode as well.

0 comments on commit 4865097

Please sign in to comment.