[Feature Request] Pry for deno(Complete Revamp of a more advanced Debugging Capabilities)
I think one of the potentially biggest DX feature deno could work on next(after finishing up the static doc generator) is a completely revamped debugger/debugging experience, like how Ruby did here on v3.1.0: https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released.
Current reliance on Dev Protocol is ok but NOT great, and rationally speaking we cannot expect them to improve it given their performance/care/improvements over the last decade. I truly want a pry-like experience(and even more features with the new debug gem of ruby) or the elixir debugging improvements in the last releases.
Higher priority features:
- Pry like "in terminal" debugger, without reliance on a Chrome DevTools Protocol/browsers. debugger stop/continue/load routine, Source location of a certain reference, better coloring, recording etc.
- New IRB like code completion: https://railsatscale.com/2023-12-19-irb-for-ruby-3-3/
- Better "in terminal" performance/runtime profiling tools like: GCProfile, stack/heap graphs, cpu time info of certain functions(without needing benchmarking), functionalities like https://github.com/tmm1/rbtrace
- Extra "in cli" tools to record/save & load a deterministic runtime which could be useful for certain devops/sysadmin tasks when used with an immutable system like nix.
- Builtin support for OpenTelemetry stuff.
Pinging for reference/discussion: @ry @bartlomieju
One thing I'm missing from node.js is the ability to run node inspect on remote servers, for which deno has no alternative for. So I'd like to see this happen.
Current reliance on Dev Protocol is ok but NOT great
Can we implement a command-line client that understands dev protocol? Can be a 3rd party tool, and maybe it already exists somewhere?