From the microsoft site, I can see you can use the log property of the datacontext object for debugging linq to sql in a visual studio.net 2010 web form application. From what I have seen on the internet, you can do a console.out to any instance of a textwriter. This would be for a windows application.
How would you accomplish this task for a web form 2010 C# application?