diff --git a/examples/[template][pc][vscode]/.vscode/launch.json b/examples/[template][pc][vscode]/.vscode/launch.json index 9f758222..38d9b09f 100644 --- a/examples/[template][pc][vscode]/.vscode/launch.json +++ b/examples/[template][pc][vscode]/.vscode/launch.json @@ -40,5 +40,19 @@ ], "preLaunchTask": "Make" }, + { + "name": "build and run Linux", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/build/arm_2d", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "miDebuggerPath": "/usr/bin/gdb-multiarch", + "preLaunchTask": "Make" + } ] } \ No newline at end of file diff --git a/examples/[template][pc][vscode]/README.md b/examples/[template][pc][vscode]/README.md index d154ab33..f08972b8 100644 --- a/examples/[template][pc][vscode]/README.md +++ b/examples/[template][pc][vscode]/README.md @@ -52,7 +52,7 @@ In "**Run and Debug**" panel, you can run the project via "**build and run x86(3 Second, please install the required modules with the following command: ```sh -sudo apt-get update && sudo apt-get install -y build-essential libsdl2-dev +sudo apt-get update && sudo apt-get install -y build-essential libsdl2-dev gdb-multiarch ```