Comments (2)
dock compose file:
version: '3.7'
services:
web:
build: .
volumes:
- .:/data
environment:
DATABASE_HOST: db
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: password
POSTGRES_PORT: 5432
SOLR_DEVELOPMENT_URL: http://solr:8983/solr/hydra-development
SOLR_TEST_URL: http://solr:8983/solr/hydra-test
FCREPO_DEVELOPMENT_URL: http://fcrepo:8080/rest/
FCREPO_TEST_URL: http://fcrepo:8080/rest/
REDIS_URL: redis://redis:6379/0
stdin_open: true
tty: true
command: bash -c "rm -f tmp/pids/server.pid && rdebug-ide --host 0.0.0.0 --port 9000 -- bin/rails s -p 3000 -b 0.0.0.0"
depends_on:
- db
- fcrepo
- solr
- redis
ports:
- 3000:3000
- 9000:9000
- 26162:26162
from ruby-debug-ide.
I use VScode and ruby version 2.6.3.
{
"name": "Attach to Docker",
"type": "Ruby",
"request": "attach",
"remotePort": "9000",
"remoteHost": "0.0.0.0",
"remoteWorkspaceRoot": "/data",
"cwd": "${workspaceRoot}",
"showDebuggerOutput": true
}
I had to remove/deactivate all the breakpoints to avoid this error. However, with removed/deactivated breakpoints, the debugger cannot be attached to the running code, which goes as soon as I click the debug button.
from ruby-debug-ide.
Related Issues (20)
- Debugger fails on apple m1 HOT 2
- Ruby Remote Debug Can Cause Arbitrary Remote Code Execution
- "daemon not healthy" on fresh install
- Segmentation fault in Ruby 3.1.0 / RubyMine debugger HOT 6
- Nix incompatibility
- Can't debug Rails server old version 3.2.22.5, VSCode 1.64.2
- Uncaught exception - rdebug-ide fails to initialize superclass
- ruby 3,symbol not found in flat namespace '_RHASH_EMPTY_P'
- Support the "logpoint" breakpoint variant
- Question: How to use ruby-debug-ide with unicorn? How to use --attach-mode?
- --skip-wait-for-start makes certain files not to stop more than once HOT 1
- When started without breakpoints, only pauses code execution once
- How to start the debugger from Ruby? (Also: How to set a breakpoint in HAML?) HOT 2
- rdebug-ide is getting stuck when executing `notify_dispatcher_if_needed`
- Migrate tests to GHA
- irb 1.6.4
- Issue with bundle install with Rails 7.0 & Ruby 3.2 on Docker MacOS M1 HOT 2
- Debugger hits all breakpoints once then stops HOT 1
- Incompatibility with ruby 3.3.0 on Sonoma? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-debug-ide.