Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUnable to remote debug on Hololens 2 #27113
Comments
|
I'm going to try and reproduce this. In the short term, you can use a nightly build from download.servo.org/ - pressing the wrench icon will open an in-app JS console, which will give you most of the same benefits of using the remote devtools. |
|
I can reproduce. I'll try and figure out why no tabs are being reported. |
|
Protocol has been updated. We need to migrate to tab descriptors. Valid (Firefox to Firefox) protocol dump: {
"tabs": [
{
"actor": "server1.conn5.tabDescriptor9",
"browsingContextID": 5,
"isZombieTab": false,
"outerWindowID": 7,
"selected": true,
"title": "New Tab",
"traits": {
"getFavicon": true,
"hasTabInfo": true,
"watcher": true
},
"url": "about:home"
}
],
"from": "root"
} {
"type": "getTab",
"outerWindowID": 7,
"to": "root"
} {
"tab": {
"actor": "server1.conn5.tabDescriptor9",
"browsingContextID": 5,
"isZombieTab": false,
"outerWindowID": 7,
"selected": true,
"title": "New Tab",
"traits": {
"getFavicon": true,
"hasTabInfo": true,
"watcher": true
},
"url": "about:home"
},
"from": "root"
} {
"type": "getTarget",
"to": "server1.conn5.tabDescriptor9"
} {
"frame": {
"actor": "server1.conn5.child54/frameTarget1",
"browsingContextID": 5,
"traits": {
"isBrowsingContext": true
},
"title": "New Tab",
"url": "about:home",
"outerWindowID": 7,
"consoleActor": "server1.conn5.child54/consoleActor2",
"inspectorActor": "server1.conn5.child54/inspectorActor3",
"styleSheetsActor": "server1.conn5.child54/styleSheetsActor4",
"storageActor": "server1.conn5.child54/storageActor5",
"memoryActor": "server1.conn5.child54/memoryActor6",
"framerateActor": "server1.conn5.child54/framerateActor7",
"reflowActor": "server1.conn5.child54/reflowActor8",
"cssPropertiesActor": "server1.conn5.child54/cssPropertiesActor9",
"performanceActor": "server1.conn5.child54/performanceActor10",
"animationsActor": "server1.conn5.child54/animationsActor11",
"responsiveActor": "server1.conn5.child54/responsiveActor12",
"contentViewerActor": "server1.conn5.child54/contentViewerActor13",
"webExtensionInspectedWindowActor": "server1.conn5.child54/webExtensionInspectedWindowActor14",
"accessibilityActor": "server1.conn5.child54/accessibilityActor15",
"screenshotActor": "server1.conn5.child54/screenshotActor16",
"changesActor": "server1.conn5.child54/changesActor17",
"webSocketActor": "server1.conn5.child54/webSocketActor18",
"eventSourceActor": "server1.conn5.child54/eventSourceActor19",
"manifestActor": "server1.conn5.child54/manifestActor20"
},
"from": "server1.conn5.tabDescriptor9"
} {
"type": "attach",
"to": "server1.conn5.child54/frameTarget1"
} |
|
I noted today that on FF74 I have access to tabs, but on FF78 I do not have any any tab listed when connected to my hololens. Do you think this is related? (My poor French interpretation skills of the error in the screen shot is that it needs to be a minimum of version 75.01?) |
|
Yes. The protocol that Firefox uses to talk to the devtools server in Firefox Reality changed in more recent versions of Firefox. |
I followed these instructions: https://github.com/servo/servo/wiki/Devtools#running-firefox-reality-in-a-hololens-device-or-emulator
On my hololens (10.32.11.146) I allowed the debugger to connect.

On Firefox Desktop or Firefox Developer, I get the following error :
Firefox : 77.0.1 (64 bits)
PackageFullName: MozillaFoundation.FirefoxReality_1.1.0.0_arm64__1asrjg2sqer5r