Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cwd setting #11

Open
ndan opened this issue Nov 3, 2020 · 0 comments
Open

Add cwd setting #11

ndan opened this issue Nov 3, 2020 · 0 comments

Comments

@ndan
Copy link

ndan commented Nov 3, 2020

I have multiple rails projects in my working folder, but I'm getting [Bundler::GemfileNotFound] Could not locate Gemfile when I'm trying to run debugger.

Example of my project structure:

/my_project
  /frontend
  /api
    /app
    /config
    ...
    Gemfile

Debugger settings:

{
  "type": "ruby-debug",
  "request": "launch",
  "name": "Rails: api",
  "program": "${workspaceFolder}/api/bin/rails",
  "programArgs": [
    "s",
  ],
  "useBundler": false
}

It seems cwd setting might solve the problem by pointing debugger to the right directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant