From b77ab8a6858d02ff0121826fd9145e71a5c5de55 Mon Sep 17 00:00:00 2001 From: Kristina Date: Wed, 21 May 2025 13:59:30 -0500 Subject: [PATCH] Developer Guide: Add blurb about vs code debugger error (#105772) Add blurb about vs code debugger error in developer guide --- contribute/developer-guide.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contribute/developer-guide.md b/contribute/developer-guide.md index 0ef86bb6be2..f13f7ffccb3 100644 --- a/contribute/developer-guide.md +++ b/contribute/developer-guide.md @@ -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).