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

Output any kind of debug info to the output #47

Closed
markelog opened this issue May 17, 2018 · 4 comments
Closed

Output any kind of debug info to the output #47

markelog opened this issue May 17, 2018 · 4 comments

Comments

@markelog
Copy link

Did the installation path, added one withScreenshot() for testing to a relatively big size (I think) storybook.

After the
$ ./node_modules/.bin/storybook-chrome-screenshot -p 9001 -c .storybook

I get

 LAUNCH  Launching storybook server ...
 PREPARE  Fetching the target components ...

And nothing else.

localhost:9001 shows me the storybook normal build version, no errors, shows element with withScreenshot as well.

Would want to debug it, but it seems futile without any kind of logs, the suggestions or something from the tool would be helpful

@markelog markelog changed the title Output any kind of info to the output Output any kind of debug info to the output May 17, 2018
@markelog
Copy link
Author

markelog commented May 17, 2018

After 20 minutes it unfrozed, yey! But issues still stands though.

Also it seems performing significantly slower then @storybook/addons-storyshots (newer version can do screenshots). With the difference that they already performing the image comparison which should be one of the slowest parts? And I only did one test screenshot, whereas addons-storyshots did all of them.

Have you considered any performance improvements, it's a bit off-topic but still? Should I create an issue about it?

@wadackel
Copy link
Collaborator

Hi @markelog, Thank you for Issues 😃

I'm also aware of performance problems... 😇
However, we are still struggling to improve now.

By the way, when debugging, use the --debug flag to get the output.

@wadackel
Copy link
Collaborator

wadackel commented Jun 3, 2018

By PR #50, the performance of CAPTURE phase has improved 👍
Performance improvement will be done little by little in the future.


I think that the content of the title has been solved, so may I close this Issue 😃 ??

@markelog
Copy link
Author

markelog commented Jun 3, 2018

Sounds good, looking forward to testing it :)

@markelog markelog closed this as completed Jun 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants