Skip to main content

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.
ConfigRequirementEnvironment VariableDefault
logLevelOptionalSIDEKICK_AGENT_LOG_LEVELinfo
maxFramesOptionalSIDEKICK_AGENT_MAX_FRAMES20
maxExpandFramesOptionalSIDEKICK_AGENT_MAX_EXPAND_FRAMES1
maxPropertiesOptionalSIDEKICK_AGENT_MAX_PROPERTIES10
maxParseDepthOptionalSIDEKICK_AGENT_MAX_PARSE_DEPTH3
scriptPrefixOptionalSIDEKICK_AGENT_SCRIPT_PREFIXNone