OfficeDev / OfficeDev/Excel-Custom-Functions-JS

Unable to debug custom functions in JS-only runtime in Excel on Windows

Open
#129 0 comments 0 reactions 1 assignee View on GitHub

@shanshanzheng-dev is already working on this.

Since May 8, 2024.

Needs: triage :mag:
Dominant language
JavaScript
Stars
57
Forks
28
Avg merge
3d 32m
Merged PRs (30d)
3

Description

I can start and see custom functions from the sample (Excel-Custom-Functions-JS) running in desktop Excel 2021 on Windows, but cannot debug them in that environment.

Trying from VS Code starting configuration "Excel Desktop (Custom Functions)".

Tried many different things with no luck.

I see the following strings in launch.json:
"type": "node",
"request": "attach",
"port": 9223,

But when Excel is up and running the add-in, and VS Code is trying to connect debugger, no process is listening on port 9223. Does this have something to do with my problem?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.