mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-08-25 12:23:58 -04:00
5efbaa8c58
* 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.
17 lines
420 B
TypeScript
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;
|
|
}
|