Please select Into the mobile phone version | Continue to access the computer ver.
Cannot open DevTools on DJI Assistant 2 for DJI FPV
6550 4 2021-6-14
Uploading and Loding Picture ...(0/1)
o(^-^)o
angelosc
lvl.1
Flight distance : 158474 ft
Cyprus
Offline

Hello there,

I am trying to access debug mode / tools for the DJI FPV through the DJI Assistant 2 application.

I have checked the main.js files as others online do to find the command, and it is stated as (Ctrl+Shift+I or Cmnd+Shift+I).

When I press the command combination in the application, nothing happens - the developer console does not appear.

Has anyone had any luck running debug tools with the DJI FPV? I need to check some ESC related functionality out following a repair.

Thank you.
2021-6-14
Use props
angelosc
lvl.1
Flight distance : 158474 ft
Cyprus
Offline

..bump? Any help ?
2021-6-16
Use props
Waffle
lvl.1
Flight distance : 145896 ft
United States
Offline

It looks like they to some extent removed the dev tools from the release, much sadness.
I had to open the "DJIApp\app.asar" file with 7zip, make edits, and then rezip app.asar.
They added a bunch of booby-traps to disable Electron's developer console.
"main.js" intentionally closes the developer console whenever its opened ("ipcMain.on('open-devtools',"), commenting it out fixes it.
"utils.js" "banDevTools" intentionally nukes the entire program when dev tools are opened. Commenting out the function fixes it.
Then I was able to enable "debug" and "debug_enabled"...

After all that, I was able to click the "Developer Tools" button which now appeared, but it links to a html file not included so I guess thats that.
2022-1-26
Use props
GD_Pilots_FPV
lvl.3
Vietnam
Offline

Waffle Posted at 2022-1-26 23:30
It looks like they to some extent removed the dev tools from the release, much sadness.
I had to open the "DJIApp\app.asar" file with 7zip, make edits, and then rezip app.asar.
They added a bunch of booby-traps to disable Electron's developer console.

Do you have a video to share it? I want to enable developer tools on DJI Assistant 2 for FPV but can't.
7-12 05:12
Use props
djiuser_TcvmvrxuvRpx
lvl.1
Flight distance : 299 ft

India
Offline

Waffle Posted at 2022-1-26 23:30
It looks like they to some extent removed the dev tools from the release, much sadness.
I had to open the "DJIApp\app.asar" file with 7zip, make edits, and then rezip app.asar.
They added a bunch of booby-traps to disable Electron's developer console.

do u hv video please senfd me
10-20 23:08
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules