![]() comment out the example // import /_layouts/appinv. debug/launch/example.ts as a reference create a debugging file in the debug folder, let's call it mydebug.ts and add this content: If not, ensure that you have properly updated the settings file and registered the add-in perms correctly. ![]() ![]() If you hit F5 now you should be able to see the full response from getting the web's title in the internal console window. (See below for guidance on registering a client id and secret) Test your setup ¶ This management shell is aware about SharePoint commands as well as general PowerShell. Then update the clientId, clientSecret, and siteUrl fields in the testing section. Open ImportExcel as a remote repo in VS Code, without cloning it. If you have not already you need to create a settings.js files by copying and renaming it to settings.js. You can add any number of files to this directory and they will be ignored by git, however the debug.ts file is not, so please ensure you don't commit any login information. debug/launch/main.ts as the program entry. This uses the launch.json file to build and run the library using. The easiest way to debug the library when working on new features is using F5 in Visual Studio Code. Debugging ¶ Debugging Library Features in Code using Node ¶ Debugging Library Features in Code using Node
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |