Troubleshooting
You can use the parameters below to troubleshoot your agent.
- Setting logLevel to 'debug' will generate extra logs for you to spot the problem.
- If you are having trouble with your agent's collections stack you can expand maxFrames, maxExpandFrames, maxProperties, and maxParseDepth to collect more in-depth data.
- If you are working within a monorepo that has multiple package.json files, use scriptPrefix to define your app's directories relative path to the main directory of your workspace.
Config | Requirement | Environment Variable | Default |
---|---|---|---|
logLevel | Optional | SIDEKICK_AGENT_LOG_LEVEL | info |
maxFrames | Optional | SIDEKICK_AGENT_MAX_FRAMES | 20 |
maxExpandFrames | Optional | SIDEKICK_AGENT_MAX_EXPAND_FRAMES | 1 |
maxProperties | Optional | SIDEKICK_AGENT_MAX_PROPERTIES | 10 |
maxParseDepth | Optional | SIDEKICK_AGENT_MAX_PARSE_DEPTH | 3 |
scriptPrefix | Optional | SIDEKICK_AGENT_SCRIPT_PREFIX | None |