Skip to content

How to set --headless=false? #145

@wesgt

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~

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