Debugging proc_macro

I am trying to debug a proc_macro I have written.

foobar_derive compiles fine

When I try to compile the crate that uses foobar_derive, I am getting unhelpful error messages (i.e. parsing error). Is there a way to get the package to show the output of foobar_derive ? If I could see the full output, it would make it much easier to figure out why I am getting syntax errors.

3 Likes