OfficeDev / Office-Addin-Taskpane-SSO

Project template for creating an Office taskpane add-in that uses SSO,
Other
15 stars 16 forks source link

Fix debug tasks for hosts #103

Closed davidchesnut closed 8 months ago

davidchesnut commented 8 months ago

Thank you for your pull request! Please provide the following information.


Change Description:

If you build a new project and press F5 in VS Code, you will get an error and you won't be able to debug the add-in project. This fixes the tasks so that the launch a shell with arguments correctly and debug works out of the box.
  1. Do these changes impact any npm scripts commands (in package.json)? (e.g., running 'npm run start') If Yes, briefly describe what is impacted. No.

  2. Do these changes impact VS Code debugging options (launch.json)? If Yes, briefly describe what is impacted. Yes, changes are to tasks.json.

  3. Do these changes impact template output? (e.g., add/remove file, update file location, update file contents) If Yes, briefly describe what is impacted. Yes. tasks.json.

  4. Do these changes impact documentation? (e.g., a tutorial on https://docs.microsoft.com/en-us/office/dev/add-ins/overview/office-add-ins) If Yes, briefly describe what is impacted. No.

If you answered yes to any of these please do the following:

Include 'Rick-Kirkham' in the review Make sure the README file is correct

Validation/testing performed:

Describe manual testing done.