Skip to content

console.time() doesn't print anything in Chrome DevTools console #888

@Natalia-Hristova

Description

@Natalia-Hristova

Nothing is shown in Chrome DevTools console when use console.time() and debugging.
The output is shown only in CLI console 2018-02-22 16:20:33.419232+0200 localhost AppLog[58467]: (NativeScript) file:///app/main-view-model.js:31:28: CONSOLE DEBUG startup: 1004.722ms

tns-ios: 4.0.0-2018-02-15-02 - current "next"

  1. Run tns debug ios
  2. Open the provided link in Chrome
  3. Look at Chrome Console tab
        console.time("startup");
        setTimeout(() => {
            console.timeEnd("startup"); 
        }, 1000);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions