Here is the best way, for me, to add code inside word:
Insert tab, Text section, click Object button (it's on the right)OpenDocument Text which will open a new embedded word documentThe result looks very nice. Here are the advantages of this method:
And it takes only few seconds.
The JavaScript console was removed from Visual Studio 2019. You have basically 2 options: