Development - HearstAT/ensemble GitHub Wiki
There is a .vscode/launch.json provided it will support:
- There are docker-compose files that launch in debug mode and will not bring the server up fully until you hit the 'Start Debugging' on this setting
- Will attempt to run the file currently open in Visual Studio Code (may not work in many cases)
- Will attach debugging session to 127.0.0.1:3000 if there is anything running on it
- Will launch the Rails server in the context of the Debugger (allowing you to set breakpoints)
- Will launch the Rails server without the debugger but still show the output in the debug console
- Will run
rspec
on all of your specs
- Will run
rake test
on all of your test (currently only rspec is used for this project)
- Will run
rspec
only on the current file you have open in Visual Studio Code
- Will run
rspec
only on the current file you have open in Visual Studio Code (currently only rspec is used for this project)
- Experimental
Repeated on a Mac I am running into the Rails Listen Issue causing the need to restart. This can be seen with the repeated error:
fsevent_watch[13744] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
Currently I am trying:
DISABLE_SPRING=1
bundle exec rspec