Remote Debug
Your app created via Heighliner stacks will have Remote Debug solution. By default, we will use Nocalhost to setup remote development environment and support remote debugging.
Nocalhost Dashboardβ
In Heighliner, a stack will normally setup the Nocalhost server.
You can get the Nocalhost dashboard url, default user account and passwords via hln status <app>
command.
Developmentβ
Install Nocalhost VS Code Extensionβ
- Open VS Code and go to Extensions view.
- Input
Nocalhost
in the search box. - Select the Nocalhost Extension, and click the
Install
button.
Login to Nocalhost Serverβ
Install Applicationβ
- Click on the π icon.
- Select the application that you want to install.
Remote Developmentβ
- Select the workload that you want to develop.
- Right-click the workload and and select
Remote Run
. - Nocalhost will automatically enter the
DevMode
and launch application on the remote cluster. - Use the url
http://<namespace>.<app>.h8r.site/api
to access your application.
Get namespace:
Remote Run:
Remote Debugβ
- Select the workload that you want to debug.
- Right-click the workload and and select
Remote Debug
. - Nocalhost will automatically install the dependencies on the first debug.
- Nocalhost will automatically enter the
DevMode
and start remote debugging.