只需要加 --debug 即可
bun tauri build --debug
编译后文件安装后,打开会自动打开 cmd 窗口,输出 rust log
按 ctrl + shift + i 或是 右键 检查,可以打开前端调试窗口。