Search code examples
ruby-on-rails-3.2daemonstarling-server

how to debug the code which is running under task server in rails


In rails have a code which is running under task-server and starling server. I want to know what's the recommended way to debug the code line by line?


Solution

  • U can use byebug. Install the gem and put "byebug" where you want to debug the code.