eclipse-theia/theia

better error reporting when a breakpoint cannot be set

Open

#7,499 opened on Apr 3, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (2,478 forks)batch import
bugdapdebughelp wanted

Repository metrics

Stars
 (18,676 stars)
PR merge metrics
 (Avg merge 12d 10h) (73 merged PRs in 30d)

Description

I can see following with debugging https://github.com/TypeFox/leeway project with go vscode extension:

Bug there are better information on returned json response in body.error:

From DAP:

If the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error').

I don't think we ever log ErrorResponse.body.error. We should check other places where we handle error responses.

Contributor guide