Run this in the terminal to globally install the CLI:
npm install -g debugbear
Or if you are using the Node API, install debugbear
in your local node_modules
:
npm install debugbear --save-dev
Use a project API key to trigger page tests, for example as part of your CI process.
You can generate an key in the API keys tab of your project dashboard.
Use an admin API key to set up pages for monitoring and manage projects.
You can generate an Admin API key in your account settings. You need to be an admin for this organization to be able to generate the key.
To identify the page you want to test you need to pass in a --pageId
. You can find it in the top right corner on the results page:
Check out the CLI docs, or the API docs.