Closed xpopov closed 10 years ago
This error indicates that no rails folder was opened on sublime, please select open folder -> choose your rails project root folder -> statt rails debugging
Thanks, I've managed to get new Rails instance started through "Start debugging rails". But instead of running new instance, is it possible to make the debugger to connect already running instance?
That is not possible since there is no debugger listening on the debugging port.
After clicking "Start debugging rails" I have the following error:
Traceback (most recent call last): File "G:\Program Files\Sublime Text 3\sublimeplugin.py", line 524, in run return self.run(**args) File "F:\Documents and Settings\Max Popov\Application Data\Sublime Text 3\Packages\Ruby Debugger\debug_command.py", line 60, in run if PathHelper.file_exists("script/rails", self.window): File "F:\Documents and Settings\Max Popov\Application Data\Sublime Text 3\Packages\Ruby Debugger\debugger\helpers\path_helper.py", line 11, in file_exists elif path.isfile(path.join(window.folders()[0], file_name)): IndexError: list index out of range
How it supposed to work?
So far I've only managed it to work this way: have running rails server with debug enabled. And if I choose to debug individual file (via F6), I'm able to connect to rails debugger and debug file. But after I click F8 - debugger is stopped, and stopped forever - I could not connect any more until I restart the rails server.
I guess "Start debugging rails" won't stop the debugger, and is more appropriate solution for me. But cannot get it to work so far...