How to Access the Console for an App Platform Component
Validated on 27 Nov 2024 • Last edited on 6 Dec 2024
console
App Platform is a Platform-as-a-Service (PaaS) offering that allows developers to publish code directly to DigitalOcean servers without worrying about the underlying infrastructure.
You can connect to the console of your app’s components (services and workers) to run commands in the component’s container. This lets you troubleshoot issues, perform maintenance tasks, and run other one-off commands.
The following example initiates a console session for the app with the ID f81d4fae-7dec-11d0-a765-00a0c91e6bf6 and the component web:
doctl apps console f81d4fae-7dec-11d0-a765-00a0c91e6bf6 web
Access a Component’s Console Using the Control Panel
To access a component’s console from the control panel, click your app, then click the Console tab. In the Console tab, select the component that you want access to open its console.