Skip to content

fix(launch.json) Add explicit linux platform-specific runtimeExecutable path#24317

Merged
markfields merged 1 commit intomicrosoft:mainfrom
markfields:launch-linux
Apr 11, 2025
Merged

fix(launch.json) Add explicit linux platform-specific runtimeExecutable path#24317
markfields merged 1 commit intomicrosoft:mainfrom
markfields:launch-linux

Conversation

@markfields
Copy link
Copy Markdown
Member

@markfields markfields commented Apr 10, 2025

Description

In my GitHub CodeSpace, the Debug Current Mocha Test (auto build) debug config seems to be using the Windows entry for runtimeExecutable even though it's a Linux environment, so F5 to debug has been broken for me.

Copilot suggested I add an explicit Linux platform-specific runtimeExecutable path to the launch.json file, which fixed the issue.

I tested this on my CodeSpace and also Windows directly.

In CodeSpaces, it seems to be using the Windows entry even though it's Linux.
This fixes it.
Copilot AI review requested due to automatic review settings April 10, 2025 19:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • .vscode/launch.json: Language not supported

@github-actions github-actions Bot added base: main PRs targeted against main branch area: contributor experience labels Apr 10, 2025
Copy link
Copy Markdown
Contributor

@alexvy86 alexvy86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, I would have expected line 411 to act as default for anything that wasn't Windows.

@markfields
Copy link
Copy Markdown
Member Author

Interesting, I would have expected line 411 to act as default for anything that wasn't Windows.

I know, me too. I don't know what changed.

@markfields markfields merged commit a839505 into microsoft:main Apr 11, 2025
25 checks passed
@markfields markfields deleted the launch-linux branch April 11, 2025 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: contributor experience base: main PRs targeted against main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants