I want to set compilation debug="false" to get release mode dll's compiled on the fly from aspx files.
However, I still want line numbers and such on errors as you find when you compile a DLL project with pdbonly set.
If you're looking to do that, you can find a great answer on this question: Display lines number in Stack Trace for .NET assembly in Release mode
Any ideas?