Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The LSP version of debuggers is essentially DAP, and it is gaining some support: https://microsoft.github.io/debug-adapter-protocol/

Like LSP it's a bit crippled compared to a normal debugger, but the universally-pluggable aspect is compelling.



Thanks for sharing. I can see why are you excited about this. For others who might not click through:

> What is the Debug Adapter Protocol?

> Adding a debugger for a new language to an IDE or editor is not only a significant effort, but it is also frustrating that this effort can not be easily amortized over multiple development tools, as each tool uses different APIs for implementing the same feature.

> The idea behind the Debug Adapter Protocol (DAP) is to abstract the way how the debugging support of development tools communicates with debuggers or runtimes into a protocol. Since it is unrealistic to assume that existing debuggers or runtimes adopt this protocol any time soon, we rather assume that an intermediary component - a so called Debug Adapter - adapts an existing debugger or runtime to the Debug Adapter Protocol.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: