Best practices to debug stan (pystan, cmdstan)?

What are the best practices to debug stan models in order to speed up development process? Is it only “trial and error” or for example, it is possible to do it in some sort of connected C++ debugger?

For the time being I decided to switch to PyMC as it easier to debug code there.

1 Like

What are you having trouble with? In particular, what would you want to be able to do, that you may not find the ability to do?

2 Likes

I am fairly new to pystan, so I can make a lot of errors - running and building takes a lot of time. I am curious about best practices to make development faster.