Debugging
Debugging Unit Tests
Debugging Integration Tests
Debugging E2E Tests
- Start BanyanDB in debug mode.
- From the root directory of the project, run
e2e run -c test/debug/e2e.yamlto start oap, agent, provider and consumer and ingest data into BanyanDB. - Use
docker psto check the exposed port of oap. - Use
swctlto query oap. For example:export PATH=/tmp/skywalking-infra-e2e/bin:$PATH swctl --display yaml --base-url=http://localhost:<port>/graphql logs list --service-name=e2e-service-provider`` Replace
<port>with the actual port number. - Execute
e2e cleanup -c test/debug/e2e.yamlto clean up the environment.