Skip to content

Commit

Permalink
Update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgadling committed Aug 17, 2023
1 parent 542d6d4 commit 7db235b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions entities/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,12 @@ docker compose exec entities bash
export PLATFORMICS_AUTH_TOKEN=$(./cli/gqlcli.py auth generate-token 111 --project 444:admin --expiration 3600)
./cli/gqlcli.py samples list
```

# Debugging in VSCode:
- Install the 'Dev Containers' and 'Docker' VSCode extensions
- Open VSCode at the entities directory
- Click "reopen in container" when VSCode suggests it.
- You're now editing code directly in the container! This is handy because all of the python packages used by the app are installed in the container and type checking will work properly.
- You can set breakpoints and click the "debug/play" icon in VSCode to step through your code.
- **Note** that you'll generally have to make a request (via cli/browser/???) to actually trigger the section of code you're debugging.

0 comments on commit 7db235b

Please sign in to comment.