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.