Skip to content

Commit

Permalink
add some description on version manger settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruby committed May 4, 2023
1 parent 9fd96b5 commit 3e30437
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ In this case, the current directory of host (`${workspaceFolder}`) is shared wit

### Selecting a version manager

In order to launch the debugger using the correct Ruby version, rdbg allows configuring your preferred version manager, which is used to activate the Ruby environment.
In order to launch the debugger using the correct Ruby version, rdbg allows configuring your preferred version manager, which is used to activate the Ruby environment with [extension settings](https://code.visualstudio.com/docs/getstarted/settings) (or [`settings.json`](https://code.visualstudio.com/docs/getstarted/settings#_settingsjson)).

```jsonc
// Default value is "none" for not using a version manager to activate the environment
Expand All @@ -233,6 +233,8 @@ In order to launch the debugger using the correct Ruby version, rdbg allows conf
}
```

If you are using `rbenv` configured with a login shell (on bash or zsh), you do not need to specify this configuration because vscode-rdbg will launch ruby command with login shell setting like `bash -lic ruby ...`. With this configuration, vscode-rdbg will launch simply `ruby` command. This configuration will be useful if you are using other environment such as chruby and so on.

## Acknowledgement

* This extension is based on [Ethan Reesor / VSCode Byebug · GitLab](https://gitlab.com/firelizzard/vscode-byebug/-/tree/master/) by Ethan Reesor. Without his great work, the extension can not be released (Koichi learned TypeScript, VSCode extension and DAP by his extension).
Expand Down

0 comments on commit 3e30437

Please sign in to comment.