For the complete documentation index, see llms.txt. This page is also available as Markdown.

Debugging Tools

To improve development efficiency, MarsApp supports debugging functionality, allowing you to test application features without directly publishing online.

Debugging environment requirements:

  • Ensure Marscat and the development device are on the same network

  • Local web server must be running (such as nginx, Apache, or Node.js development server)

Debugging steps:

1

Start Local Service

Use nginx or other web server to start the MarsApp page locally.

2

Get Local Access Address

After startup, obtain the local network IP address and port.

Example address: http://192.168.1.100:8080
3

RelayX debug configuration

  • Open the RelayX application

  • Enter developer mode

  • Find debugging function entry

  • Input local service address: http://192.168.1.100:8080

After entering the link, you can open the local MarsApp and start debugging testing.

Debug MarsApp Instructions

Debug MarsApp address: 1GpfkLXuSoNaArx9Xe3HDyXN9HkPQ4f4Yv

The debug MarsApp also supports testing for Self Service functionality, providing Self Service API call permissions to facilitate developers testing Self Service related features. Note that the debug MarsApp only provides API call permissions; the corresponding service-key needs to be maintained and managed by developers themselves.

Self Service API certificate (provided by debug MarsApp)
{
    "content": "eyJhZGRyZXNzIjoiMUdwZmtMWHVTb05hQXJ4OVhlM0hEeVhOOUhrUFE0ZjRZdiIsImRhdGEiOiI4IiwiZXhwaXJlZCI6MTc5MDIyODgzNjUzMCwidmVyc2lvbiI6MX0=",
    "signature": "IBcZNZNStJyup7KruNCp5Wu3/neqxjlINufArbAeaJJSALM7aKXjCqEYuDiHfbY9VLB9aWhxmdpo4H8iJl8VuoQ="
}

Through the debugging functionality, developers can test MarsApp features and interactions with RelayX in real-time during development, greatly improving development efficiency and debugging experience.

Last updated