How to debug (Front-end/Tauri Core) Tauri App with vscode #5389
Replies: 4 comments 8 replies
-
|
This is really nice I wasn't aware the VSCode
|
Beta Was this translation helpful? Give feedback.
-
|
This is excellent and should be in the official documentation. |
Beta Was this translation helpful? Give feedback.
-
|
Now both the front-end and tauri can be debugged independently, but I cannot start debugging both at the same time. |
Beta Was this translation helpful? Give feedback.
-
|
Any solution for MacOS? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Debug Tauri App Core
Debug Front-end (Nuxt, Vue, Reactive,...)
{ "version": "0.2.0", "configurations": [ { "name": "Front-end App Debug", "type": "msedge", "port": 9222, "request": "launch", "runtimeExecutable": "${workspaceFolder}/src-tauri/target/debug/app.exe", // Path to your app in debug mode. "useWebView": true, "webRoot": "${workspaceFolder}", "preLaunchTask": "ui:dev" }, ], }{ "version": "2.0.0", "tasks": [ { "label": "ui:dev", "type": "shell", "isBackground": true, "command": "yarn", "args": [ "dev" ], }, ] }In vscode > Run and Debug Panel > Select Front-end App Debug > F5 for start debug.
Beta Was this translation helpful? Give feedback.
All reactions