debug icon indicating copy to clipboard operation
debug copied to clipboard

Allow starting debug server without opening apps

Open amomchilov opened this issue 2 years ago • 3 comments

Description

Hey there!

I'm developing my own GUI debugger that uses the Debug Adapter Protocol. This gem supports it, but it's coupled to VSCode: you can only start the DAP server if you also open VSCode automatically.

In the modular spirit of DAP and CDP, it should be possible to start debug servers that use those protocols, without actually opening VSCode or Chrome, so other debugger clients can be connected instead.

TODO

  • [ ] Tests
  • [x] Ensure this works for starting a CDP session without starting Chrome
  • [x] Update documentation, readme, etc.

amomchilov avatar Jul 07 '23 02:07 amomchilov

I don't have any objection to have this feature, but please describe the user facing UI changes.

ko1 avatar Sep 25 '23 08:09 ko1

@ko1 Hi, I'm an Emacs user and we have two DAP clients available:

  • https://github.com/emacs-lsp/dap-mode
  • https://github.com/svaante/dape

If a user wanted to try running these modes with ruby debug, they'd want to use a configuration item like the one in this PR, since they won't necessarily have VSCode on their system.

johnhamelink avatar Dec 13 '23 13:12 johnhamelink

please describe the user facing UI changes.

@ko1 I updated the README. Let me know if that answers your questions.

amomchilov avatar Jan 06 '24 22:01 amomchilov