Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ybiquitous/ruby-debug-with-capybara
https://github.com/ybiquitous/ruby-debug-with-capybara
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ybiquitous/ruby-debug-with-capybara
- Owner: ybiquitous
- Created: 2021-10-23T04:11:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-19T03:30:06.000Z (over 2 years ago)
- Last Synced: 2024-11-13T13:58:27.509Z (2 months ago)
- Language: Ruby
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# debug.gem & Capybara & RSpec
Chrome hang reproduction.
## Setup
```shell
bundle install
```## ✅ Without debug.gem
```shell
bundle exec rspec
```## ❌ With debug.gem
```shell
bundle exec rspec -r debug
```Default: `RUBY_DEBUG_FORK_MODE=both`
## ✅ With debug.gem & `child` fork mode
```shell
RUBY_DEBUG_FORK_MODE=child bundle exec rspec -r debug
```## ✅ With debug.gem & `parent` fork mode
```shell
RUBY_DEBUG_FORK_MODE=parent bundle exec rspec -r debug
```See also: