Hi,
When debugging, I would like to see the peripherals' registers. I downloaded the SVD file for my Arduino MKR Wifi 1010 and placed in my sketch's folder. I tried to set
"svd_path": "ATSAMD21G18A.svd",
on my debug.json file but I still get the following error:

What is the right way to specify it?
In order to make it easier for newcomers to get started with debugging, the Arduino IDE 2.x automatically generates the launch.json file according to the configuration specified by the platform of the target board.
However, it is possible to customize the configuration by adding a file named debug_custom.json, as is necessary when using the J-Link debug probe:
Something that might help with finding more information about the Arduino IDE's integrated debugger is that it is this nice "Cortex-Debug" VS Code extension:
Most of the information you find about that extension also applies to the Arduino IDE.
It looks like the configuration key you need to use is svdFile, not svd_path:
https://github.com/Marus/cortex-debug/blob/master/debug_attributes.md
|
|
|
| svdFile |
Common |
Path to a CMSIS SVD file describing the peripherals of the microcontroller; if not supplied then one may be selected based upon the 'device' entered. |