DEV Community

Discussion on: Debugging Ruby in VS Code

Collapse
 
artoodeeto profile image
aRtoo

@dnamsons hello. I know its late but can you help me? so I just did this.

rdebug-ide --host 0.0.0.0 --port 1234 /path/to/the/file.rb without adding the dispatcher because im getting an error if I try to attached.

2627: connection failed(1)
Exception: Connection refused - connect(2) for "127.0.0.1" port 26162

without dispatcher im running fine but when I added breakpoint it doesn't pause on break points. please. thank you sir!

Collapse
 
sjdonado profile image
sjdonado

Add to docker-compose ports:

      - 26162:26162
Enter fullscreen mode Exit fullscreen mode