pebble/devsite/source/_guides/tools-and-resources/developer-connection.md

74 lines
2.4 KiB
Markdown
Raw Permalink Normal View History

---
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
title: Developer Connection
description: |
How to enable and use the Pebble Developer Connection to install and debug
apps directly from a computer.
guide_group: tools-and-resources
order: 3
---
In order to install apps from the local SDK using the `pebble` tool or from
[CloudPebble]({{ site.links.cloudpebble }}), the Pebble Android or iOS app must
be set up to allow a connection from the computer to the watch. This enables
viewing logs and installing apps directly from the development environment,
speeding up development.
Follow the steps illustrated below to get started.
## Android Instructions
In the Pebble mobile app:
* Open the overflow menu by tapping the three dot icon at the top right and tap
*Settings*.
![](/images/guides/publishing-tools/enable-dev-android-1.png =300x)
* Enable the *Developer Mode* option.
![](/images/guides/publishing-tools/enable-dev-android-2.png =300x)
* Tap *Developer Connection* and enable the developer connection using the
toggle at the top right.
![](/images/guides/publishing-tools/enable-dev-android-4.png =300x)
* If using the `pebble` tool, make note of the 'Server IP'. If using
CloudPebble, this will be handled automatically.
## iOS Instructions
In the Pebble mobile app:
* Open the left-hand menu and tap the *Settings* item.
![](/images/guides/publishing-tools/enable-dev-ios-1.png =300x)
* Enable the Developer Mode using the toggle.
![](/images/guides/publishing-tools/enable-dev-ios-2.png =300x)
* Return to the menu, then tap the *Developer* item. Enable the Developer
Connection using the toggle at the top-right.
![](/images/guides/publishing-tools/enable-dev-ios-3.png =300x)
* If using the `pebble` tool, make note of the phone's 'Listening on' IP
address. If using CloudPebble, this will be handled automatically.