Macros doesn work an Desktop Writer

I/m just trying run primitrive macro like this: (View - Macro)
(function () {
“use strict”;

const editor = Asc.editor;
const doc = editor.WordControl.m_oLogicDocument;

const oParagraph = doc.CreateParagraph();
oParagraph.AddText("Hello World");

doc.InsertContent([oParagraph]);
console.log("Hello World — added to document");

})();
But nothing happenes. Mocros doesn’t run, debug doesnt work… What I do wrong?
OnlyOffice latest version версия 9.0.3.29 (deb)? OS Linux Mint 22.1