solver: add debug mode for all solvers

1 job for master in 3 minutes and 22 seconds