Chrome DevTools: Logs are not shown in Chrome console tab
Natalia-Hristova opened this issue · comments
Environment
- CLI: rc
- iOS Runtime: 5.1.0
Describe the bug
Logs are not shown in Chrome console tab. They are shown in the terminal only.
Tested on device and simulator.
To Reproduce
- Add
console.log()
,console.dir()
,console.time()
e.g. on a button tap - Run
tns debug ios
- Open Chrome url
- Tap the button
- Look at the Chrome console tab
Expected behavior
Logs to be shwon in Terminal and Chrome console tab.
Sample project
Additional context
This is regression after changing Chrome version to use bundled tools. NativeScript/nativescript-cli@8a76625
cosnole.log()
, console.dir()
work but console.time()
- not
console.time("startup");
setTimeout(() => {
console.timeEnd("startup");
}, 1000);