miragedebug

module
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0

README

MirageDebug

English | 简体中文

MirageDebug: Local remote debugging for Kubernetes apps, enabling fully authentic environment debugging.

MirageDebug

Installation

Install MirageDebug

MirageDebug currently requires the GO runtime environment for installation, and can be installed using the following method:

go install github.com/miragedebug/miragedebug/cmd/mirage-debug@latest

Usage

MirageDebug Server - Background Service

MirageDebug Server is a background service that manages debugging sessions and provides relevant information about the debugging sessions.

Start MirageDebug Server
mirage-debug server
Initialize Debugging Application

Execute the following command in the project root directory to initialize the debugging application, and fill in the relevant information as prompted.

mirage-debug init
Write IDE Configuration Files

MirageDebug can automatically generate debugging configuration files for different IDEs, making it easy to start debugging locally.

mirage-debug config <APPNAME>
Start Debugging

Once the IDE is configured, you can start debugging directly in the IDE.

Demo

VSCode debug rust applications in Kubernetes cluster

Goland debug istiod in Kubernetes cluster

Directories

Path Synopsis
api
app
Package app is a reverse proxy.
Package app is a reverse proxy.
cmd
internal
pkg
log

Jump to

Keyboard shortcuts

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