Skip to content

debug.json is not being read by go-debugΒ #138

Description

@amit-handa

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions