Skip to content
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

Merged
merged 6 commits into from
Dec 30, 2024
Merged

Set up debugging in VSCode #97

merged 6 commits into from
Dec 30, 2024

Conversation

evanwporter
Copy link
Collaborator

https://v2.tauri.app/develop/debug/vscode/

I just copied and pasted code from the above guide.

@andrewbenington
Copy link
Owner

can you confirm it works? what kind of debugging is this, is it for rust or for javascript?

@evanwporter
Copy link
Collaborator Author

@andrewbenington

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.

@evanwporter evanwporter marked this pull request as ready for review December 30, 2024 21:36
@andrewbenington andrewbenington merged commit 74a2fe3 into main Dec 30, 2024
3 checks passed
@evanwporter evanwporter deleted the evanwporter-patch-1 branch December 30, 2024 22:03
andrewbenington pushed a commit that referenced this pull request Dec 30, 2024
* Update launch.json

* Update tasks.json

* Fixed it

* renamed `ui` to `frontend`

* Got rid of problem matcher

* Fixed vscode settings
andrewbenington added a commit that referenced this pull request Jan 2, 2025
* 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]>
andrewbenington added a commit that referenced this pull request Jan 3, 2025
* 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]>
andrewbenington added a commit that referenced this pull request Jan 4, 2025
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants