... | ... | @@ -23,7 +23,7 @@ Simply select your created device, enter a name, and press `Apply`. |
|
|
Then, on the device over SSH run the following command to run the shell with debugging enabled:
|
|
|
|
|
|
```bash
|
|
|
$ PLASMA_ENABLE_QML_DEBUG=1 plasmashell -p org.kde.plasma.phoneshell -qmljsdebugger=port:3678 --replace
|
|
|
$ PLASMA_ENABLE_QML_DEBUG=1 plasmashell -p org.kde.plasma.mobileshell -qmljsdebugger=port:3678 --replace
|
|
|
```
|
|
|
|
|
|
In order to attach to the device and do profiling, go to `Analyze->QML Profiler (Attach to Waiting Application)`. Then select the kit you have created, as follows:
|
... | ... | @@ -35,7 +35,7 @@ You will see the QML profiler popup on the bottom of the IDE. Read more about us |
|
|
Alternatively, passing the `-qmljsdebugger=port:3678,block` flag blocks startup of the shell until the profiler has been attached, which can be useful for profiling shell startup:
|
|
|
|
|
|
```bash
|
|
|
$ PLASMA_ENABLE_QML_DEBUG=1 plasmashell -p org.kde.plasma.phoneshell -qmljsdebugger=port:3678,block --replace
|
|
|
$ PLASMA_ENABLE_QML_DEBUG=1 plasmashell -p org.kde.plasma.mobileshell -qmljsdebugger=port:3678,block --replace
|
|
|
```
|
|
|
|
|
|
## Profiling
|
... | ... | |