vscode debugging.

This commit is contained in:
Miroslav Šedivý
2022-02-09 23:10:29 +01:00
parent 924be20505
commit c83883fd1e
4 changed files with 21 additions and 10 deletions

View File

@ -2,4 +2,19 @@
You need to run all dependencies with `deps` command before you start debugging.
Make sure your local IP is correct in `.vscode/launch.json`,
Create `.env.development` in repository root. Make sure your local IP is correct.
```sh
NEKO_WEBRTC_NAT1TO1=10.0.0.8
```
# without container
- Make sure `pulseaudio` contains correct configuration.
- Specify `DISPLAY` that is being used by xorg.
```sh
DISPLAY=:0
NEKO_WEBRTC_NAT1TO1=10.0.0.8
NEKO_SERVER_BIND=:3000
```