OfficeDev / Office-Addin-TaskPane-React

Template to get start started writing a TaskPane Office Add-in for the React framework using TypeScript
Other
53 stars 34 forks source link

Fix debug tasks for hosts #147

Closed davidchesnut closed 5 months ago

davidchesnut commented 5 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') No.

  2. Do these changes impact VS Code debugging options (launch.json)? Yes, changes are to tasks.json.

  3. Do these changes impact template output? (e.g., add/remove file, update file location, update file contents) 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) No.

Validation/testing performed:

Manual testing in progress...
hermanwenhe commented 5 months ago

When will this PR be merged?