There are multiple ways in which to configure your AEA for debugging during development. We focus on the standard Python approach here.
You can add a debugger anywhere in your code:
Then simply run you AEA with the
For more guidance on how to use
pdb check out the documentation.
Using an IDE:
- For VSCode modify the
launch.jsonto include the following information:
PATH_TO_VIRTUAL_ENVshould be replaced with the path to the virtual environment and
CWDwith the working directory for the agent to debug (where the