From b4ccb80dcdf0d293dc398b9dd24744ced30bbe0a Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sun, 25 Jan 2026 11:36:08 +1100 Subject: [PATCH] docs: add Windows/MacOS config sections to main docs As requested by maintainer, adding the platform-specific configuration sections to the main docs instead of just the versioned v2.10 docs. Co-Authored-By: Claude Opus 4.5 --- website/docs/guides/ides.mdx | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/website/docs/guides/ides.mdx b/website/docs/guides/ides.mdx index 5fe5a7bb9..1327e14ed 100644 --- a/website/docs/guides/ides.mdx +++ b/website/docs/guides/ides.mdx @@ -46,6 +46,8 @@ The 2 files generated are `tasks.json` and `launch.json`. Below are the files ge } ``` +### Windows configuration + ```json title="launch.json" { "version": "0.2.0", @@ -64,6 +66,29 @@ The 2 files generated are `tasks.json` and `launch.json`. Below are the files ge } ``` +### MacOS configuration + +```json title="launch.json" +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Wails: Debug myproject (macOS)", + "type": "go", + "request": "launch", + "mode": "exec", + "program": "${workspaceFolder}/build/bin/myproject", + "preLaunchTask": "build", + "cwd": "${workspaceFolder}", + "env": { + "GOOS": "darwin", + "GOARCH": "amd64" + } + } + ] +} +``` + ### Configuring the install and build steps The `tasks.json` file is simple for the default project as there is no `npm install` or `npm run build` step needed.