Files
GDevelop/GDJS/Runtime/debugger-client/minimal-debugger-client.ts
T
Florian Rival 5efbaa8c58 Add automated crash reporting from previews (#6915)
* This will allow to detect any bugs or crash in the game engine without relying on manual reports from users on GitHub. Note that exceptions and errors in JavaScript code blocks won't be reported. This can be deactivated in preferences if you prefer not to have GDevelop send these crash reports at all.
2024-09-03 16:52:53 +02:00

17 lines
420 B
TypeScript

namespace gdjs {
/**
* Does nothing apart from allowing to reporting errors.
*/
export class MinimalDebuggerClient extends gdjs.AbstractDebuggerClient {
constructor(runtimeGame: RuntimeGame) {
super(runtimeGame);
}
protected _sendMessage(message: string) {}
}
//Register the class to let the engine use it.
// @ts-ignore
export const DebuggerClient = WindowMessageDebuggerClient;
}