Skip to content
Discussion options

You must be logged in to vote

Breakpoints are supported; logs are not the only option. The key detail is that d does not debug inside the dx terminal UI—it asks a supported editor to attach to the running process/page.

For Dioxus 0.7.10, check these items:

  1. Use VS Code or Cursor and install the required editor extensions. The CLI currently supports those two editors and defaults to VS Code (source). Also make sure code --version or cursor --version works from the shell where dx serve runs. For Cursor, select it explicitly:

    dx config set preferred-editor cursor
  2. For desktop/native/server code, install CodeLLDB. The d action opens a vadimcn.vscode-lldb attach URL for the running PID (source). If CodeLLDB is absent or …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jgardona
Comment options

Answer selected by jgardona
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants