S
S
Sensarg2015-11-02 12:24:28
Node.js
Sensarg, 2015-11-02 12:24:28

How to debug applications in Impress?

How to debug an application if all executable code is loaded asynchronously and the development environment cannot understand which file is currently being executed? Is there a server start mode without this functionality for development needs. I use VisualStudio 2015 with nodejstools or VisualStudio Code

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill, 2015-11-02
@Sensarg

Debugging tools and ways to fix it were discussed here.

T
Timur Shemsedinov, 2015-11-02
@MarcusAurelius

Applications do not need to be debugged, they need to be written immediately ideally in vi, vim, emacs, far development environments. If, nevertheless, you need to display debug information from an ideal application, then this can be done in the console via console.log(); console.dir() or to the logs via impress.log.debug(...); and it will end up in /log/YYYY-MM-DD-debug.log

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question