generator-office
generator-office copied to clipboard
$HOST$ guidance not complete
It says to replace the word $HOST$ with the name of the Office application. I only found one instance of $HOST$, but 2 more instances of Excel. I am using Outlook. I went ahead and replaced it in all 3 places. I am getting an error that says "Could not find the task 'Debug: Outlook Desktop'. It doesn't mention how the task should be configured. Lastly, I still get an 'Error processing "attach": connect ECONNREFUSED 127.0.0.1:9222'.
{
"name": "**Outlook** Desktop (Edge Legacy)",
"type": "office-addin",
"request": "attach",
"url": "https://localhost:3000/taskpane.html?_host_Info=**Outlook**$Win32$16.01$en-US$$$$0",
"port": 9222,
"timeout": 600000,
"webRoot": "${workspaceRoot}",
"preLaunchTask": "Debug: **Outlook** Desktop",
"postDebugTask": "Stop Debug"
}
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 614e6992-f9be-4ce5-1f15-0fc6bf285c43
- Version Independent ID: 1b37e38d-06ec-cd00-16bb-3324b1f0048f
- Content: Debug add-ins on Windows using Visual Studio Code and Microsoft Edge legacy WebView (EdgeHTML) - Office Add-ins
- Content Source: docs/testing/debug-with-vs-extension.md
- Product: non-product-specific
- Technology: add-ins
- GitHub Login: @o365devx
- Microsoft Alias: o365devx
I'll fix the documentation. For the other issues, I'm assigning to @millerds .
@grippstick . . . what did you do to correct for the missing tasks?
@Rick-Kirkham . . . that config block in the documentation includes references to preLaunchTask and postDegbugTask settings which require a tasks.json file with information about those tasks. You can remove them from the config block, but then you need to run the start and stop dev server commands manually. The other option is for people to also add configurations to a task.json file along with that launch.josn file updated.
I gave up :(
On Wed, Mar 22, 2023, 1:55 PM Darren Miller @.***> wrote:
Closed #713 https://github.com/OfficeDev/generator-office/issues/713 as completed.
— Reply to this email directly, view it on GitHub https://github.com/OfficeDev/generator-office/issues/713#event-8820246050, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBPTOVF33J25Q6H5EWFC5TW5NDK7ANCNFSM5YONV7YA . You are receiving this because you were mentioned.Message ID: @.***>