Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This happens less often than you might expect.

If you're able to run the code locally, there is a function called Debug.Trace.trace which writes messages to stdout without requiring IO.

If it's a production issue, all you need to do is figure out what is being passed to your function. It's a pure function, so you can always debug it locally once you've got that.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: