Skip to content

Why does goc run agentport not take effect #226

@alonelucky

Description

@alonelucky

In file cmd/run.go

ci := &cover.CoverInfo{
    ...
    AgentPort:                "",
    ...
}

Small change to:

ci := &cover.CoverInfo{
    ...
    AgentPort:               agentPort.String(),
    ...
}

In this way, the port number can be fixed during debugging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions