Skip to content

Commit

Permalink
fix(vscode): wing debugger is not a default choice for .w files (#6238)
Browse files Browse the repository at this point in the history
Missed this change in #6217

Now vscode will automatically use the builtin debugger when you have a wing file open instead of asking you to pick one

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
  • Loading branch information
MarkMcCulloh authored Apr 15, 2024
1 parent ba06ad3 commit f0b6b11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/vscode-wing/.projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ const contributes: VSCodeExtensionContributions = {
type: "wing",
label: "Wing Debug",
program: "",
languages: ["wing"],
configurationAttributes: {
launch: {
entrypoint: {
Expand Down
3 changes: 3 additions & 0 deletions apps/vscode-wing/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/vscode-wing/src/project/vscode_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export interface VSCodeDebugger {
readonly type: string;
readonly runtime?: string;
readonly program?: string;
readonly languages: string[];
readonly request?: string;
readonly variables?: string;
readonly configurationAttributes?: any;
Expand Down

0 comments on commit f0b6b11

Please sign in to comment.