go-debug icon indicating copy to clipboard operation
go-debug copied to clipboard

debug.json is not being read by go-debug

Open amit-handa opened this issue 6 years ago • 1 comments

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] )

amit-handa avatar May 30 '18 16:05 amit-handa

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.

lloiser avatar Jul 24 '18 19:07 lloiser