Developer Guide: Add blurb about vs code debugger error (#105772)

Add blurb about vs code debugger error in developer guide
This commit is contained in:
Kristina
2025-05-21 21:59:30 +03:00
committed by GitHub
parent 616bbfd4fd
commit b77ab8a685
+4
View File
@@ -424,6 +424,10 @@ Set NODE_OPTIONS="--max-old-space-size=8192"
If you encounter an `AggregateError` when building new tests, this is probably due to a call to our client [backend service](https://github.com/grafana/grafana/blob/main/public/app/core/services/backend_srv.ts) not being mocked. Our backend service anticipates multiple responses being returned and was built to return errors as an array. A test encountering errors from the service will group those errors as an `AggregateError` without breaking down the individual errors within. `backend_srv.processRequestError` is called once per error and is a great place to return information on what the individual errors might contain.
### Getting `error reading debug_info: decoding dwarf section line_str at offset` trying to run VSCode debugger
If you are trying to run the server from VS code and get this error, run `go install github.com/go-delve/delve/cmd/dlv@master` in the terminal.
## Next steps
- Read our [style guides](/contribute/style-guides).