You should start the Sidekick before your app is initialized or started. For example, you can add the following snippet at the end of your settings.py for Django project or beginning of the file where you create Flask app such as app = Flask(name)
Configure by Environment Variable:
try:
import tracepointdebug
tracepointdebug.start()
except ImportError as e:
pass
Configure by .env File:
To install environment variables from the configuration file, you should install pathlib and dotenv first.