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

Support --debug option for enabling Now CLI debug mode #8

Closed
simonw opened this issue Apr 7, 2020 · 0 comments
Closed

Support --debug option for enabling Now CLI debug mode #8

simonw opened this issue Apr 7, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Owner

simonw commented Apr 7, 2020

This is really useful for seeing exactly what's going on.

$ datasette publish now2 covid.db --project=covid-cases
> [debug] [2020-04-07T05:01:50.253Z] Found config in file /private/var/folders/bl/5x847xbj2yb7xmp7f2tz7l280000gn/T/tmpbessv97g/datasette-now-v2/now.json
Now CLI 17.1.1
> [debug] [2020-04-07T05:01:50.263Z] user supplied a possible target for deployment
> [debug] [2020-04-07T05:01:50.264Z] Spinner invoked (Retrieving scope…) with a 1000ms delay
> [debug] [2020-04-07T05:01:50.264Z] Spinner ended (Retrieving scope…)
> [debug] [2020-04-07T05:01:50.280Z] GET https://api.zeit.co/www/user 
> [debug] [2020-04-07T05:01:50.788Z] GET https://api.zeit.co/www/user : 507.214ms
> [debug] [2020-04-07T05:01:50.840Z] Spinner invoked (Loading scopes…) with a 1000ms delay
> [debug] [2020-04-07T05:01:50.841Z] GET https://api.zeit.co/teams 
> [debug] [2020-04-07T05:01:51.332Z] GET https://api.zeit.co/teams : 490.462ms
(node:11348) Warning: No such label '> [debug] #1 GET /teams' for console.timeEnd()
> [debug] [2020-04-07T05:01:51.333Z] Spinner ended (Loading scopes…)
❗️  The `name` property in now.json is deprecated (https://zeit.ink/5F)
> [debug] [2020-04-07T05:01:51.334Z] Setting target to production
> [debug] [2020-04-07T05:01:51.335Z] Spinner invoked (Setting up project) with a 0ms delay
[now-client-debug] 2020-04-07T05:01:51.335Z Creating deployment...
[now-client-debug] 2020-04-07T05:01:51.335Z Provided 'path' is a directory. Reading subpaths... 
[now-client-debug] 2020-04-07T05:01:51.336Z Read 4 subpaths
[now-client-debug] 2020-04-07T05:01:51.337Z Found 1 rules in .nowignore
...
@simonw simonw added the enhancement New feature or request label Apr 7, 2020
@simonw simonw closed this as completed in f2e8450 Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant