delve

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package delve attaches a headless Delve server to a running Go service: to the local process directly, or inside the container (the image needs dlv and the pod SYS_PTRACE) with the port forwarded.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(env core.Env, c *spec.Component) (any, error)

Types

type Debugger

type Debugger struct {
	// contains filtered or unexported fields
}

func (*Debugger) Attach

func (d *Debugger) Attach(ctx context.Context, s *spec.Service, instance string) (core.DebugSession, error)

type Options

type Options struct {
	Dlv  string `yaml:"dlv"`
	Port int    `yaml:"port"`
	PID  int    `yaml:"pid"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL