To remove the debug pop-up when running your JavaScript add-in for Microsoft Word, you can try the following steps:
Open the package.json
file in your project.
Locate the "start"
script in the "scripts"
section of the package.json
file. It should look like this:
jsonCopy code
"start": "office-addin-debugging start manifest.xml --no-debug"
Remove the --no-debug
option from the "start"
script, so it becomes:
jsonCopy code
"start": "office-addin-debugging start manifest.xml"
Save the package.json
file.
By removing the --no-debug
option, the add-in will be launched without suppressing the debug pop-up. Now, when you press the add-in button, the pop-up should no longer appear.
After making this change, you may need to rebuild or restart your project for the updated configuration to take effect.