I am getting failures on Circle that do not appear locally. To solve this, I would like to debug from SSH.
I can successfully SSH into our builds, navigate/edit files, and run our test suite. However, I can’t figure out how to actually debug from the SSH window (there are plenty of very helpful support topics about how to debug SSHing itself. This is not my problem).
I run the same command that our circle integration runs to trigger our entire Jasmine test suite:
RAILS_ENV=test bundle exec rake jasmine:ci
The errors are correctly outputted to the console but I can’t get anything else to show. Console.log seems to be completely ignored.
How can you debug from SSH? Is there any way to print from tests? Or stop tests midway and run code (like byebug)?
Thanks in advance!