DataSource Backend Plugin Troubleshooting

Hi,
I need some tips to troubleshoot a custom datasource backend plugin.
My code breaks in a compiled function and I do not know how to debug it. There is no relevant info in the grafana logs. Could someone provide some advices to help me troubleshooting this bug?