Skip to content

How to set --headless=false? #145

Description

@wesgt

Does anyone know how to set headless=false?
Because I want to set --init='some_init_file' to executed a command by the terminal client.
This command is similar to 'config max-string-len 99999'. it's order to extend the variable length.
And I saw that the Delve code has follow condition.

if Headless && (InitFile != "") {
	fmt.Fprint(os.Stderr, "Warning: init file ignored\n")
}

And go-debug code is

dlvArgs.push(
  '--headless=true',
  `--listen=${host}:${port}`,
  '--api-version=2',
  `--backend=${backend}`
)

thx~

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