提交 a3e2b3d9 编写于 作者: A Andre Weinand

debug protocol: support objects in OutputEvent

上级 40ea6f20
......@@ -136,7 +136,7 @@ declare module DebugProtocol {
}
/** Event message for 'output' event type.
The event indicates that the target has produced output.
The event indicates that the target has produced some output.
*/
export interface OutputEvent extends Event {
// event: 'output';
......@@ -145,6 +145,8 @@ declare module DebugProtocol {
category?: string;
/** The output to report. */
output: string;
/** If an attribute 'variablesReference' exists and its value is > 0, the output contains objects which can be retrieved by passing variablesReference to the VariablesRequest. */
variablesReference?: number;
/** Optional data to report. For the 'telemetry' category the data will be sent to telemetry, for the other categories the data is shown in JSON format. */
data?: any;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册