Skip to content

Commit d1149ee

Browse files
Hypukfacebook-github-bot
authored andcommitted
Return app & VM info in the /json/list response
Reviewed By: ebluestein Differential Revision: D14280849 fbshipit-source-id: b0bb1816b062692851d6a321a7cc2d1f011b78c9
1 parent 611da27 commit d1149ee

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/metro-inspector-proxy/src/InspectorProxy.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,13 @@ class InspectorProxy {
113113
debuggerUrl;
114114
return {
115115
id: `${deviceId}-${page.id}`,
116-
description: page.title,
116+
description: page.app,
117117
title: page.title,
118118
faviconUrl: 'https://reactjs.org/favicon.ico',
119119
devtoolsFrontendUrl,
120120
type: 'node',
121121
webSocketDebuggerUrl,
122+
vm: page.vm,
122123
};
123124
}
124125

packages/metro-inspector-proxy/src/types.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export type Page = {
1717
id: string,
1818
title: string,
1919
vm: string,
20+
app: string,
2021
};
2122

2223
// Chrome Debugger Protocol message/event passed between device and debugger.

0 commit comments

Comments
 (0)