import "github.com/egdaemon/eg/runtime/x/wasi/egbug"
Package egbug is an internal package and not under the compatiability promises of EG. its used for debugging and analysis.
<a name="CachedID"></a>
func CachedID() string
<a name="DebugFailure"></a>
func DebugFailure(op, debug eg.OpFn) eg.OpFn
Utility operation for debugging failures
<a name="Depth"></a>
func Depth() int
<a name="DirectoryTree"></a>
func DirectoryTree(dir string) eg.OpFn
prints the directory tree of the provided path.
<a name="EnsureEnv"></a>
func EnsureEnv(ctx context.Context, op eg.Op) error
Ensures the environment is stable between releases.
<a name="Env"></a>
func Env(ctx context.Context, op eg.Op) error
prints current environment variables.
<a name="Fail"></a>
func Fail(ctx context.Context, op eg.Op) error
<a name="FileTree"></a>
func FileTree(ctx context.Context, op eg.Op) error
prints debugging information about the environment workspaces.
<a name="Images"></a>
func Images(ctx context.Context, op eg.Op) error
<a name="Log"></a>
func Log(m ...any) eg.OpFn
<a name="Module"></a>
func Module(ctx context.Context, op eg.Op) error
prints debugging information about the currently executing module.
<a name="Sleep"></a>
func Sleep(d time.Duration) eg.OpFn
utility function for prototyping.
<a name="SystemInit"></a>
func SystemInit(ctx context.Context, op eg.Op) error
debugging information for system initialization
<a name="Users"></a>
func Users(ctx context.Context, op eg.Op) error
prints debugging information about the current user.