Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

While attached to a debugger jest swallows console.log #8415

Closed
abhishiv opened this issue May 3, 2019 · 5 comments
Closed

While attached to a debugger jest swallows console.log #8415

abhishiv opened this issue May 3, 2019 · 5 comments

Comments

@abhishiv
Copy link

abhishiv commented May 3, 2019

Hey guys

While running attached to a debugger jest should log console.log to that debugger instead of terminal.

Right now if I run jest via node --inspect ./node_modules/.bin/jest --watch --runInBand, I can open devtools in chrome://inspect, however there are no logs.

In my case it's very annoying since I would like to inspect objects, and terminal isn't good for that. Seems there's a lot of demand for it as well.

https://twitter.com/HariParsai/status/1106266622694703110
https://twitter.com/matthewcp/status/1105536775559237632

@abhishiv abhishiv changed the title While attached to a debugger jest swallows console.logs While attached to a debugger jest swallows console.log May 3, 2019
@jeysal
Copy link
Contributor

jeysal commented May 3, 2019

Related (as in also a debugging console improvement): #8208

@DanielKucal
Copy link

DanielKucal commented Jan 22, 2020

I can see logs in terminal work, but the Console section in Chrome DevTools remains empty.
Did something went any further on this topic?

@github-actions
Copy link

This issue is stale because it has been open for 1 year with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Feb 17, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 19, 2023
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants