vscode-ruby | Provides Ruby language and debugging support
kandi X-RAY | vscode-ruby Summary
kandi X-RAY | vscode-ruby Summary
Provides Ruby language and debugging support for Visual Studio Code
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vscode-ruby
vscode-ruby Key Features
vscode-ruby Examples and Code Snippets
Community Discussions
Trending Discussions on vscode-ruby
QUESTION
New to VSCode i tried to debug an existing Rails app that Runs within Docker (started via docker compose)
I followed the instructions on https://github.com/rubyide/vscode-ruby (installed the gems + extension, launch config).
I can start puma and see breakpoints being added
...ANSWER
Answered 2021-Sep-08 at 18:15It seems your remoteWorkspaceRoot it's pointing to your local machine, the debugger needs to know what file should he watch to break inside the docker container
For example, if inside your docker container, your project is on "/app", you should change your remoteWorkspaceRoot variable to "/app"
In console you should see
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vscode-ruby
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page