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

VSCode Dev Debug #1017

Closed
bRRRITSCOLD opened this issue Sep 10, 2020 · 2 comments
Closed

VSCode Dev Debug #1017

bRRRITSCOLD opened this issue Sep 10, 2020 · 2 comments

Comments

@bRRRITSCOLD
Copy link

Is your feature request related to a problem? Please describe.
While developing within VSCode I can debug via chrome, but as soon as a tauri JS API function is used (ex: tauri/api/dialog) errors are thrown.

Describe the solution you'd like
recipe to attach vscode debugger to running app instance

Additional context
Is there a recipe for attaching to the running tauri dev script from npm scripts via vscode debugger?

A section in the documentation for a recipe over this would be awesome if already possible. If it is already there tell me to read closer :)

@zicklag
Copy link

zicklag commented Oct 1, 2020

This would actually be made much easier to do with a Chrome backend for Tauri: #981.

@lucasfernog
Copy link
Member

This is now documented: https://tauri.app/v1/guides/debugging/application

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

No branches or pull requests

3 participants