Skip to main content

debug_sandbox

Function debug_sandbox 

Source
pub async fn debug_sandbox(
    sandbox_type: SandboxType,
    policy: &SandboxPolicy,
    command: &[String],
    cwd: &Path,
    sandbox_executable: Option<&Path>,
) -> Result<SandboxDebugResult>
Expand description

Debug sandbox configuration by running a test command.

This allows testing sandbox restrictions without affecting production execution.