Adding formatters for types when debugging in VSCode

⚓ Rust    📅 2025-10-01    👤 surdeus    👁️ 7      

surdeus

I'd like to improve my debugging experience by adding some nicer formatting for certain types in my debugger in VSCode. One example is chrono::DateTime that is very annoying.

I found this thread: https://stackoverflow.com/questions/68553738/how-do-i-see-a-user-friendly-format-when-debugging-chronodatetime-in-vscode-ll how to do this, but it seems to use launch.json but I am normally launching debuggin my tests by using the "Debug" button above the test. As far as I know this does not use the launch.json but creates its own launch configuration on the fly.

Is there any way to achieve this? Seems like a simple task but I have not found any solution for it until now.

1 post - 1 participant

Read full topic

🏷️ Rust_feed