From 85dcd93d98a67a375ba6cbfc43c7b0aab17756ac Mon Sep 17 00:00:00 2001 From: ruvceskistefan <96768603+ruvceskistefan@users.noreply.github.com> Date: Tue, 8 Feb 2022 20:17:46 +0100 Subject: [PATCH] Problem with debugging on macOS M1 (#1625) * Solving issue with debugging on macOS M1 * Fixing problem with debugging on macOS M1 * Adding targetArchitecture in launch.json configs * Code refactor --- .vscode/launch.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 86b93c33b..d8777be90 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -13,6 +13,7 @@ "cwd": "${workspaceFolder}/src", "console": "integratedTerminal", "requireExactSource": false, + "targetArchitecture": "x86_64" }, { "name": "Run", @@ -25,6 +26,7 @@ "cwd": "${workspaceFolder}/src", "console": "integratedTerminal", "requireExactSource": false, + "targetArchitecture": "x86_64" }, { "name": "Configure", @@ -38,6 +40,7 @@ "cwd": "${workspaceFolder}/src", "console": "integratedTerminal", "requireExactSource": false, + "targetArchitecture": "x86_64" }, { "name": "Debug Worker", @@ -45,6 +48,7 @@ "request": "attach", "processName": "Runner.Worker", "requireExactSource": false, + "targetArchitecture": "x86_64" }, { "name": "Attach Debugger", @@ -52,6 +56,8 @@ "request": "attach", "processId": "${command:pickProcess}", "requireExactSource": false, + "targetArchitecture": "x86_64" }, ], } +