Debugging Tools
To improve development efficiency, MarsApp supports debugging functionality, allowing you to test application features without directly publishing online.
Debugging environment requirements:
Ensure MarsX and development device are on the same network
Local web server must be running (such as nginx, Apache, or Node.js development server)
Debugging steps:
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="
}Debugging considerations:
Ensure firewall allows access to the corresponding port
Local IP address may change, requiring timely updates to the debug address
Debug environment API certificates differ from production environment — please distinguish carefully
After debugging is complete, it is recommended to close the local service promptly to ensure security
Through the debugging functionality, developers can test MarsApp features and interactions with MarsX in real-time during development, greatly improving development efficiency and debugging experience.
Last updated