MirageDebug
English | 简体中文
MirageDebug: Local remote debugging for Kubernetes apps, enabling fully authentic environment debugging.
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