ruby / debug

Debugging functionality for Ruby
BSD 2-Clause "Simplified" License
1.14k stars 127 forks source link

CDP: disable JavaScript engine based autocompletion #1029

Closed ono-max closed 1 year ago

ono-max commented 1 year ago

We are currently facing an issue where the JavaScript engine-based autocompletion appears in the Console panel even when debugging a Ruby program. Unfortunately, we couldn't disable this autocompletion since it's feature implemented directly in Chrome DevTools frontend.

After a lengthy effort, I have managed to introduce a new option called noJavaScriptCompletion=true, which disables the JavaScript engine-based autocompletion. If you're interested in the technical details, you can find more information at the following:

Chromium Review - devtools/devtools-frontend Chromium Dashboard Commit"

Before

Screenshot 2023-10-22 at 21 51 22

After

Screenshot 2023-10-22 at 21 50 59