go-debug
go-debug copied to clipboard
debug.json is not being read by go-debug
I set the configuration file (debug.json) in the plugin settings in atom UI. However, on looking at the go-debug plugin code (dlv-connection.js), I observe that the configuration file is not being read at all. I might be wrong. please check. I am on v1.6.2 plugin. The code added below worked !
config = Object.assign( config, JSON.parse( fs.readFileSync( variables.fileDirname + '/debug.json' ) ).configurations[0] )
This seems highly specific to your use case. I haven't found any debug session that could not be solved using proper https://github.com/lloiser/go-debug#configuration settings. Feel free to share more details about your project so that we can find a configuration that works for you.