Hello, I'm Quinn and here to help!
No, Office 2016 does not support legacy JScript. Only VBA and modern JavaScript-based Office Add-ins (Office.js) are supported for automation in Office 2016. Since you mentioned debugging, you can still debug JScript — just not inside modern Office. You’ll need to use external tools instead.
JScript runs natively in Windows via cscript.exe (console) or wscript.exe (GUI). Save your script as myscript.js and run in Command Prompt:
cscript myscript.js
(Replace myscript.js with your file name.)
This lets you see errors and output directly in the Command Prompt.