Skip to content
Danil edited this page Jan 19, 2025 · 3 revisions

Logging and debug

Portal API

In order to enable request logging, you need to change the value $REQUESTLOGER = 0; to $REQUESTLOGER = 1; in file /home/xtreamcodes/wwwdir/portal.php

In the /home/xtreamcodes/wwwdir/ folder there will be a log.txt file containing request and response data.

Stalker Debug

In order to enable debug mode for stalker_portal you need to add ?debug to the portal link

To open stalker_portal in a browser, you need to create a mag user c mac 00:1A:80:34:60:58. Enable debug mode by adding ?debug to the portal link. In the /home/xtreamcodes/wwwdir/c/xpcom.common.js file, uncomment the variables after // DEBUG

Clone this wiki locally