Skip to content

Commit 0ea09a9

Browse files
committed
Open specific version of Chrome Dev Tools
Otherwise we would have to update our logic on every Chrome update
1 parent fb6a587 commit 0ea09a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/services/ios-debug-service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,8 @@ class IOSDebugService implements IDebugService {
203203
if (this.$options.chrome) {
204204
this._socketProxy = this.$socketProxyFactory.createWebSocketProxy(factory);
205205

206-
this.$logger.info(`To start debugging, open the following URL in Chrome:\nchrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=localhost:${this._socketProxy.options.port}\n`);
206+
let commitSHA = "02e6bde1bbe34e43b309d4ef774b1168d25fd024"; // corresponds to 55.0.2883 Chrome version
207+
this.$logger.info(`To start debugging, open the following URL in Chrome:\nchrome-devtools://devtools/remote/serve_file/@${commitSHA}/inspector.html?experiments=true&ws=localhost:${this._socketProxy.options.port}\n`);
207208
} else {
208209
this._socketProxy = this.$socketProxyFactory.createTCPSocketProxy(factory);
209210
this.openAppInspector(this._socketProxy.address()).wait();

0 commit comments

Comments
 (0)