- Made the Debug script work under OSX.