Powershell Custom Function Debug