Comment

Comment by ainar-g

dbg! looks neat. It made me wonder if any of the statically typed compiled languages have an equivalent of Ruby's binding.pry or JS's debugger call? That is, something like

  x = foo();
  invoke_debugger(); // An interactive console appears here.
  y = bar(x)
parent ainar-g 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton