microsoft / HoloJS

Provides a framework for creating holographic apps using JavaScript and WebGL.
MIT License
1.19k stars 114 forks source link

Console.log does not print in Output window #27

Closed liuminosity closed 7 years ago

liuminosity commented 7 years ago

The console methods (console.log, console.error, etc) currently only output to an array viewable in the debugger. Would be a nice for debugging if these outputs were directly viewable in the Output window in Visual Studio.

Almost-Done commented 7 years ago

I merged a fix for when doing native debugging; messages should now show up in the Output window (Debug).

However, I could not find a way to redirect messages when script debugging.

bryanbocao commented 7 years ago

@liuminosity I put

console.log("line 38 in app.js");

in app.js in ThreeJSApp, deployed it and run it on a HoloLens. I could see the console output from the "Output" window in Visual Studio 2015: console

liuminosity commented 7 years ago

I haven't been following this for a while, but I do believe this has been fixed. Closing--thanks for all your work