<!-- Code generated by gomarkdoc. DO NOT EDIT -->

In Development Package, API may change between versions.

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

func CachedID() string

<a name="DebugFailure"></a>

func DebugFailure

func DebugFailure(op, debug eg.OpFn) eg.OpFn

Utility operation for debugging failures

<a name="Depth"></a>

func Depth

func Depth() int

<a name="DirectoryTree"></a>

func DirectoryTree

func DirectoryTree(dir string) eg.OpFn

prints the directory tree of the provided path.

<a name="EnsureEnv"></a>

func EnsureEnv

func EnsureEnv(ctx context.Context, op eg.Op) error

Ensures the environment is stable between releases.

<a name="Env"></a>

func Env

func Env(ctx context.Context, op eg.Op) error

prints current environment variables.

<a name="Fail"></a>

func Fail

func Fail(ctx context.Context, op eg.Op) error

<a name="FileTree"></a>

func FileTree

func FileTree(ctx context.Context, op eg.Op) error

prints debugging information about the environment workspaces.

<a name="Images"></a>

func Images

func Images(ctx context.Context, op eg.Op) error

<a name="Log"></a>

func Log

func Log(m ...any) eg.OpFn

<a name="Module"></a>

func Module

func Module(ctx context.Context, op eg.Op) error

prints debugging information about the currently executing module.

<a name="Sleep"></a>

func Sleep

func Sleep(d time.Duration) eg.OpFn

utility function for prototyping.

<a name="SystemInit"></a>

func SystemInit

func SystemInit(ctx context.Context, op eg.Op) error

debugging information for system initialization

<a name="Users"></a>

func Users

func Users(ctx context.Context, op eg.Op) error

prints debugging information about the current user.