flutter / flutter/devtools

Unsupported extension developer journey: run debug mode devtools with debug mode extension

Ouverte
#6,615 0 commentaires 0 réactions 1 personne assignée Réclamée par @kenzieschmoll Voir sur GitHub
devtools extensions P1
Langage dominant
Dart
Étoiles
1.7k
Forks
404
Merge moyen
6 j 17 h
PR mergées (30 j)
18

Description

Right now, the only way to test your extension in debug mode is using the simulated devtools environment. However, if you want to test your extension in DevTools there is not currently an easy way to do this with both devtools and the extension in debug mode.

Here a workaround I recommended to a user for the meantime, although this is untested:

> In the meantime, I think you can run your devtools extension in debug mode, and then change this url to be the url of your locally running debug DevTools extension:
> https://github.com/flutter/devtools/blob/master/packages/devtools_app/lib/src/extensions/embedded/_controller_web.dart/#L42-L43
> and flip debugDevToolsExtensions to true. Then you should be able to run DevTools in debug mode on chrome and see your debug mode DevTools extension in the iFrame.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.