Title: Open Chrome when using Chrome DevTools for debugging · Issue #3085 · NativeScript/nativescript-cli · GitHub
Open Graph Title: Open Chrome when using Chrome DevTools for debugging · Issue #3085 · NativeScript/nativescript-cli
X Title: Open Chrome when using Chrome DevTools for debugging · Issue #3085 · NativeScript/nativescript-cli
Description: Currently tns debug android and tns debug ios --chrome prepare the project, run it on specified device and prints a URL which should be opened in Chrome browser. Instead the commands should open Chrome directly and load a specified URL. ...
Open Graph Description: Currently tns debug android and tns debug ios --chrome prepare the project, run it on specified device and prints a URL which should be opened in Chrome browser. Instead the commands should open Ch...
X Description: Currently tns debug android and tns debug ios --chrome prepare the project, run it on specified device and prints a URL which should be opened in Chrome browser. Instead the commands should open Ch...
Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/3085
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Open Chrome when using Chrome DevTools for debugging","articleBody":"Currently `tns debug android` and `tns debug ios --chrome` prepare the project, run it on specified device and prints a URL which should be opened in Chrome browser.\r\nInstead the commands should open Chrome directly and load a specified URL.\r\n\r\nThe current implementation prints the URL as it is unable to open it in Chrome. However, the changes applied in [this PR](https://github.com/NativeScript/nativescript-cli/pull/3071) allow us to generate a URL to `https://chrome-devtools-frontend.appspot.com/`. This URL can be safely opened in Chrome directly from CLI.\r\n\r\nThings to consider during implementation:\r\n* For testability, we should have an easy way to print the URL and do not open Chrome. This will be useful in CI.\r\n* Visual Studio Code Extension does not need to open Chrome, so ensure `--no-client` option is respected.\r\n* Chrome executable has different names on each OS. Also the `Canary` release has another name. Ensure the users have an easy way to set the name, specific to their system.\r\n* During debug operation, CLI LiveSyncs changes on device. This may produce different URL (the port may change), so ensure we open the URL again. In case the port is not changed, just inform the user to reconnect DevTools in the already opened tab.","author":{"url":"https://github.com/rosen-vladimirov","@type":"Person","name":"rosen-vladimirov"},"datePublished":"2017-08-23T21:04:06Z","url":"https://github.com/NativeScript/nativescript-cli/issues/3085"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0e67a26d-be71-a491-0101-687a173ff0cd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CD20:2F9718:2089C35:2BA5999:6B018E57 |
| html-safe-nonce | e5d806002717cb46d3d6aa8527f3a15fd36a6813dcb0b45f87c8e3e7258159b6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDIwOjJGOTcxODoyMDg5QzM1OjJCQTU5OTk6NkIwMThFNTciLCJ2aXNpdG9yX2lkIjoiODgxNDgwNjA1MDQ4MzA0ODAyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2843d33cebad047ffd33157f6fee9d2a2ee7a60893cd73eb38165d2f055f0f9b |
| hovercard-subject-tag | issue:252415904 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-cli/3085/issue_layout |
| twitter:image | https://opengraph.githubassets.com/616a87dec98aa694872f416a1896838e07ab7e81d41cb9ab4b395c9722adf90d/NativeScript/nativescript-cli/issues/3085 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/616a87dec98aa694872f416a1896838e07ab7e81d41cb9ab4b395c9722adf90d/NativeScript/nativescript-cli/issues/3085 |
| og:image:alt | Currently tns debug android and tns debug ios --chrome prepare the project, run it on specified device and prints a URL which should be opened in Chrome browser. Instead the commands should open Ch... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rosen-vladimirov |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 21347346 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21347346 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width