Debug adapters log to console (#29957)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
de554589a8
commit
68793c0ac2
19 changed files with 268 additions and 330 deletions
|
@ -559,6 +559,7 @@ message DapModuleId {
|
|||
|
||||
message GetDebugAdapterBinary {
|
||||
uint64 project_id = 1;
|
||||
uint64 session_id = 3;
|
||||
DebugTaskDefinition definition = 2;
|
||||
}
|
||||
|
||||
|
@ -605,3 +606,9 @@ message SpawnInTerminal {
|
|||
map<string, string> env = 4;
|
||||
optional string cwd = 5;
|
||||
}
|
||||
|
||||
message LogToDebugConsole {
|
||||
uint64 project_id = 1;
|
||||
uint64 session_id = 2;
|
||||
string message = 3;
|
||||
}
|
||||
|
|
|
@ -384,7 +384,9 @@ message Envelope {
|
|||
LspExtGoToParentModuleResponse lsp_ext_go_to_parent_module_response = 344;
|
||||
LspExtCancelFlycheck lsp_ext_cancel_flycheck = 345;
|
||||
LspExtRunFlycheck lsp_ext_run_flycheck = 346;
|
||||
LspExtClearFlycheck lsp_ext_clear_flycheck = 347; // current max
|
||||
LspExtClearFlycheck lsp_ext_clear_flycheck = 347;
|
||||
|
||||
LogToDebugConsole log_to_debug_console = 348; // current max
|
||||
}
|
||||
|
||||
reserved 87 to 88;
|
||||
|
|
|
@ -305,6 +305,7 @@ messages!(
|
|||
(DebugAdapterBinary, Background),
|
||||
(RunDebugLocators, Background),
|
||||
(DebugRequest, Background),
|
||||
(LogToDebugConsole, Background),
|
||||
);
|
||||
|
||||
request_messages!(
|
||||
|
@ -591,6 +592,7 @@ entity_messages!(
|
|||
ToggleBreakpoint,
|
||||
RunDebugLocators,
|
||||
GetDebugAdapterBinary,
|
||||
LogToDebugConsole,
|
||||
);
|
||||
|
||||
entity_messages!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue