DevTools in release mode #3059
-
How to enable dev tools (inspect) in the final built (released) app? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
This got answered on discord. For others who are searching for this here is the answer:
[profile.release.package.wry]
debug = true
debug-assertions = true Edit: As of recent versions it is possible to add the |
Beta Was this translation helpful? Give feedback.
-
Just tried this, using the |
Beta Was this translation helpful? Give feedback.
-
I added the following to [profile.release.package.wry]
debug = true
debug-assertions = true |
Beta Was this translation helpful? Give feedback.
This got answered on discord. For others who are searching for this here is the answer:
There are two methods:
tauri build --debug
). The binary will end up intarget/debug
! This of course is not actually in release mode, but the bundler etc. will do the same as they would in the actual release mode. The only difference is how rust compiles the binaries.wry
in debug mode. The binary will end up intarget/release
! For this you need to add the following to yourCargo.toml
file. Edit: This answer was posted for 1.0.0-beta versions, for rc and beyond see the "Edit" section at the end of this comment.