nodeunittesting和trace.gl

如何使用trace.gl来跟踪nodeunittesting

我尝试了3种方式:

  • $ node ~/Dropbox/tracegl.js ./path/To/My/NodeunitTests 。 然后在另一个控制台中运行我的unit testing。

  • $ node〜/ Dropbox / tracegl.js`哪个nodeunit` /path/To/Test/nodeUnitTestFile_test.coffee

  • $ node〜/ Dropbox / tracegl.js`nodeunit` refrence / To / Teset / nodeUnitTestFile_test.coffee -nolib

所有3种方式给出输出:

[trace.GL]请参阅您的代码。 本产品有商业许可。

[trace.GL] WebGL跟踪用户界面: http://localhost:2000

[trace.GL]检查更新… [trace.GL]服务浏览器JS: http://localhost:2080最新。

但是,当我打开urlhttp://localhost:2000我没有看到任何跟踪信息。 刚开始tracegl状态。 没有跟踪tracegl的信息

我有我的代码和使用tracegl相同的问题。 我不得不使用-nolib选项来使它工作。 试一试。