pub(crate) fn dump(path: &Path, context: &DebuggerContext) -> Result<()>
Dumps debugger data to a JSON file.