|
Hello, good evening. Im searching for some documentation about debug dioxus applications, read some things, but cant understand yet how it works. For example, we have the d key in dioxus dx menu. But no breakpoints works. |
Replies: 2 comments 1 reply
|
Breakpoints are supported; logs are not the only option. The key detail is that For Dioxus
A quick diagnostic is: set a breakpoint at the first line of |
|
@Junaid-PK did the pretty print doesnt works?
|

Breakpoints are supported; logs are not the only option. The key detail is that
ddoes not debug inside thedxterminal UI—it asks a supported editor to attach to the running process/page.For Dioxus
0.7.10, check these items: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 --versionorcursor --versionworks from the shell wheredx serveruns. For Cursor, select it explicitly:dx config set preferred-editor cursorFor desktop/native/server code, install CodeLLDB. The
daction opens avadimcn.vscode-lldbattach URL for the running PID (source). If CodeLLDB is absent or …