Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ybiquitous/ruby-debug-with-capybara


https://github.com/ybiquitous/ruby-debug-with-capybara

Last synced: 30 days ago
JSON representation

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: