connorshea / vscode-ruby-test-adapter

A Ruby test adapter extension for the VS Code Test Explorer
https://marketplace.visualstudio.com/items?itemName=connorshea.vscode-ruby-test-adapter
MIT License
85 stars 52 forks source link

(enhancement) Link the debug action to a debug launch.json #127

Open reneweteling opened 11 months ago

reneweteling commented 11 months ago

We have quite an extensive setup with env variables lsp servers etc, things that are all defined in the launch.json so wouldn't it be possible for the Debug button image and image

would just trigger an action configured in the launch.json? This way we have 100% configurability about the debug settings.

Thanks!

reneweteling commented 11 months ago

just did some poking in the code, so you should change this part here to use a existing config from your launch config

https://github.com/connorshea/vscode-ruby-test-adapter/blob/9a1fc573033619393a6a8bd8672ef44fc2efd26f/src/adapter.ts#L77C11-L77C25