Skip to content

[docs] Debug with jetbrains rust rover including front end #2954

Open
@delebash

Description

@delebash

I followed the docs here https://v2.tauri.app/develop/debug/rustrover/ but this does not include the front end for break points.

I am using the @tauri-apps/plugin-http' to fetch some data. When I debug according to the docs above none of my javascript breakpoints are hit but the fetch code runs fine in the tauri app. If I add a normal javascript debugging session for the default url of http://localhost:1420/ it opens a web page and my javascript break points are hit. However, because it is in the context of a webpage and not a tauri app the fetch code throws an invoke error.

How can I debug the javascript code that also invokes a call to rust with rustrover. TY

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🪵 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions