diff --git a/Libraries/src/Amazon.Lambda.PowerShellHost/Amazon.Lambda.PowerShellHost.csproj b/Libraries/src/Amazon.Lambda.PowerShellHost/Amazon.Lambda.PowerShellHost.csproj
index 1987e6e5e..f8053a6da 100644
--- a/Libraries/src/Amazon.Lambda.PowerShellHost/Amazon.Lambda.PowerShellHost.csproj
+++ b/Libraries/src/Amazon.Lambda.PowerShellHost/Amazon.Lambda.PowerShellHost.csproj
@@ -6,7 +6,7 @@
net6.0;net8.0
AWS Lambda PowerShell Host.
Amazon.Lambda.PowerShellHost
- 3.0.0
+ 3.0.1
Amazon.Lambda.PowerShellHost
Amazon.Lambda.PowerShellHost
AWS;Amazon;Lambda;PowerShell
diff --git a/Libraries/src/Amazon.Lambda.PowerShellHost/PowerShellFunctionHost.cs b/Libraries/src/Amazon.Lambda.PowerShellHost/PowerShellFunctionHost.cs
index 8cb799dab..ae8a80098 100644
--- a/Libraries/src/Amazon.Lambda.PowerShellHost/PowerShellFunctionHost.cs
+++ b/Libraries/src/Amazon.Lambda.PowerShellHost/PowerShellFunctionHost.cs
@@ -149,6 +149,7 @@ private IAsyncResult BeginInvoke(string input, ILambdaContext context)
this._ps.Commands?.Clear();
this._ps.Streams.Verbose?.Clear();
this._ps.Streams.Error?.Clear();
+ this._ps.Streams.Debug?.Clear();
this._ps.Runspace?.ResetRunspaceState();
this._output.Clear();
@@ -295,6 +296,7 @@ private void SetupStreamHandlers()
this._ps.Streams.Information.DataAdding += _loggerFactory("Information");
this._ps.Streams.Warning.DataAdding += _loggerFactory("Warning");
this._ps.Streams.Error.DataAdding += _loggerFactory("Error");
+ this._ps.Streams.Debug.DataAdding += _loggerFactory("Debug");
}
private void LogMessage(string prefix, string message)