Sunday, November 10, 2013

How to show long variable's full text value when debugging node js app with node inspector

When debugging with node inspector, the long variable's value will be truncated and shows as ....

In order to show the full text of the variable value, one workaround is using console.log(variablename) from Node inspector's console window. However, the output of the variable content will not show in the node inspector's console window, it is shown in the terminal app that starts the node application. It is much better if it can show in both places. 

No comments:

Post a Comment