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

Feature Request: Show logs in terminal for linux app #4728

Open
gabegattis opened this issue Aug 30, 2016 · 7 comments
Open

Feature Request: Show logs in terminal for linux app #4728

gabegattis opened this issue Aug 30, 2016 · 7 comments

Comments

@gabegattis
Copy link

I am using the 2.6.0 linux app.

I like to run Copay from a terminal so I can see the logs. As of some recent version, the logs are no longer shown. Can we enable them by default? If not, can we add a flag, such as "-v" or "--verbose", or something like that to allow logging?

@matiu
Copy link
Contributor

matiu commented Aug 31, 2016

In order to debug Copay in Linux, using NW.JS v0.16 you need to download the "SDK flavor" of NW, and then just open DevTools are in Chrome (see http://nwjs.readthedocs.io/en/nw16/For%20Users/Debugging%20with%20DevTools/)

@gabegattis
Copy link
Author

How were we doing logs before? Did we update to a newer version of NW in a recent release?

@matiu
Copy link
Contributor

matiu commented Sep 1, 2016

yes. to nw.js 0.16

On Sep 1, 2016 8:24 PM, "Gabe Gattis" [email protected] wrote:

How were we doing logs before? Did we update to a newer version of NW in a
recent release?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bitpay/copay/issues/4728#issuecomment-244207834, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAGCHMsSK_CNYGGqJTTQAHsJL74nmb6lks5qlzpVgaJpZM4JxD13
.

@braydonf
Copy link
Contributor

braydonf commented Sep 2, 2016

@gabegattis You can also run ./Copay --remote-debugging-port=9090 and open with Chromium at localhost:9090

@matiu Downloading the sdk flavor of NW doesn't look to be required, does that offer additional options?

@braydonf
Copy link
Contributor

braydonf commented Sep 2, 2016

I also noticed that the download is now 80+mb zipped, which is 3+ times larger than bitcoind and bitcoin-qt. Maybe there is too much being included?

@gabegattis
Copy link
Author

gabegattis commented Sep 2, 2016

@braydonf Node-webkit is pretty big. For comparison, the android sdk is only 7MB.

We could start by cleaning up https://github.com/bitpay/copay/blob/master/package.json. There are a lot of things in dependencies that should go in devDependencies or be made optional.

@bitjson
Copy link
Contributor

bitjson commented Nov 13, 2016

This is waiting on #4890

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants