-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up debugging in VSCode #97
Conversation
can you confirm it works? what kind of debugging is this, is it for rust or for javascript? |
Its for Rust backend. It only works for windows (since it uses the microsoft C++ debugger). For mac/linux there's another extension you can use. I can add that as well but idk if it'll work since I'm on windows. It just allows using VScodes builtin tools for debugging like breakpoints and what not. The real reason I want it I just like it having a quick and easy button I can click to build the dev version. I haven't actually used the debugging stuff (yet) Here are some resources that may answer your questions better than I can. |
* Update launch.json * Update tasks.json * Fixed it * renamed `ui` to `frontend` * Got rid of problem matcher * Fixed vscode settings
* Resource pack backend * simplified `download_images_from_github_folder` * Added to `tauriInvoker` * Added button to `Settings` to download gen1 sprite pack. * ran linter * initial plugin downloading/management * plugin card styling * fix for missing plugin folder * async plugin download * keep home mounted * housekeeping * move gen 7 sprites to plugin * start persisting enabled plugins * plugin enabled status persists correctly * move gen 6 sprites to plugin * newline * bump version * standardize icon.png and assets dir * image url update * Created delete plugin command * Set up debugging in VSCode (#97) * Update launch.json * Update tasks.json * Fixed it * renamed `ui` to `frontend` * Got rid of problem matcher * Fixed vscode settings * fix last opened (recent saves) (#99) * plugin page tabs * installed plugin dropdown menu * fix unused var * added `deletePlugin` to tauri invoker * Added `deletePLugin` to backend * made changes * implmented deletion of plugin * ran linter * Moved code w/i `delete_plugin` to generic `util::delete_folder`. This is so it can be reused in the future * Fixed display * Fixed plugin icon covering chips * added `deletePlugin` to dummy backend * delete icon styling * update plugin metadata fields * log plugin sprite error instead of displaying * cleanup plugin state on delete * coalesce plugin actions * include version and api_version in downloaded metadata --------- Co-authored-by: evanwporter <[email protected]> Co-authored-by: Evan <[email protected]>
* Resource pack backend * simplified `download_images_from_github_folder` * Added to `tauriInvoker` * Added button to `Settings` to download gen1 sprite pack. * ran linter * initial plugin downloading/management * plugin card styling * fix for missing plugin folder * async plugin download * keep home mounted * housekeeping * move gen 7 sprites to plugin * start persisting enabled plugins * plugin enabled status persists correctly * move gen 6 sprites to plugin * newline * bump version * standardize icon.png and assets dir * image url update * Created delete plugin command * Set up debugging in VSCode (#97) * Update launch.json * Update tasks.json * Fixed it * renamed `ui` to `frontend` * Got rid of problem matcher * Fixed vscode settings * fix last opened (recent saves) (#99) * plugin page tabs * installed plugin dropdown menu * fix unused var * added `deletePlugin` to tauri invoker * Added `deletePLugin` to backend * made changes * implmented deletion of plugin * ran linter * Moved code w/i `delete_plugin` to generic `util::delete_folder`. This is so it can be reused in the future * Fixed display * Fixed plugin icon covering chips * added `deletePlugin` to dummy backend * delete icon styling * update plugin metadata fields * log plugin sprite error instead of displaying * cleanup plugin state on delete * coalesce plugin actions * include version and api_version in downloaded metadata --------- Co-authored-by: evanwporter <[email protected]> Co-authored-by: Evan <[email protected]>
* move modal into pokemon details component * feat: plugin system (currently just sprites) (#95) * Resource pack backend * simplified `download_images_from_github_folder` * Added to `tauriInvoker` * Added button to `Settings` to download gen1 sprite pack. * ran linter * initial plugin downloading/management * plugin card styling * fix for missing plugin folder * async plugin download * keep home mounted * housekeeping * move gen 7 sprites to plugin * start persisting enabled plugins * plugin enabled status persists correctly * move gen 6 sprites to plugin * newline * bump version * standardize icon.png and assets dir * image url update * Created delete plugin command * Set up debugging in VSCode (#97) * Update launch.json * Update tasks.json * Fixed it * renamed `ui` to `frontend` * Got rid of problem matcher * Fixed vscode settings * fix last opened (recent saves) (#99) * plugin page tabs * installed plugin dropdown menu * fix unused var * added `deletePlugin` to tauri invoker * Added `deletePLugin` to backend * made changes * implmented deletion of plugin * ran linter * Moved code w/i `delete_plugin` to generic `util::delete_folder`. This is so it can be reused in the future * Fixed display * Fixed plugin icon covering chips * added `deletePlugin` to dummy backend * delete icon styling * update plugin metadata fields * log plugin sprite error instead of displaying * cleanup plugin state on delete * coalesce plugin actions * include version and api_version in downloaded metadata --------- Co-authored-by: evanwporter <[email protected]> Co-authored-by: Evan <[email protected]> * chore: make rust functions more eloquent (#105) * make rust functions more eloquent * with_icon_bytes consumes self * navigation works * WIP box position display * box indicator is temporary and sizes better * cargo lock changes --------- Co-authored-by: evanwporter <[email protected]> Co-authored-by: Evan <[email protected]>
https://v2.tauri.app/develop/debug/vscode/
I just copied and pasted code from the above guide.