- Press
F5
to on Debug Mode > Choose Fast API
- Start:
brew services start redis
- Stop:
brew services stop redis
- Then when you want to reset the database, you can open the
flushdb.py
file in VS Code and select the Run button on the top-right corner of the editor, or run the Python: Run Python File in Terminal command from the Command Palette.