FEAP has a debug feature which I found more useful than Visual Studios' debug feature.
To use this feature, you must type debug on in your batch commands, or interactively.
Then in your element/material code, you must add the debug.h include file and place the following code blocks in your code:
if (debug) then
Print whatever you like into the output file
end if
Hope this helps!