Is Yeoman generator mandatory for office add-in? Can you please confirm.Since we are trying only with VS code and nodejs

We tried with only VS code for debugging office Excel add-in sample but getting below error.
Reference Error: Office is not defined.