There is a golang application that loads the plugin at runtime. I am developing this plugin and I would like to ask if there is an opportunity to debug the code of my plugin?
I tried to run delve by compiling both the application and the plugin with --gcflags="all=-N -l"
, but running the application in the debugger I got an error the executable file does not contain debugging information for the plugin
Are there ways to debug golang plugin?