ZFFramework
 
Loading...
Searching...
No Matches
ZFImpl_ZFLua_zfl_dbg.h File Reference

path info impl More...

#include "ZFImpl_ZFLua.h"

Go to the source code of this file.

Functions

zfuintZFLuaDebugPort (void)
 debug port for lua, 30000 by default
 
void ZFLuaDebugPort (zfuint const &v)
 see ZFLuaDebugPort
 

Detailed Description

path info impl

Function Documentation

◆ ZFLuaDebugPort()

zfuint & ZFLuaDebugPort ( void )
inline

debug port for lua, 30000 by default

possible values:

  • 0 : read command from stdin
  • > 0 (and ZFNet module available) : start a local http server with specified port, read command from client request
// from other client, curl POST with debugger.lua's command as body contents, e.g.:
curl -X POST --data 'p myVar' 'http://localhost:30000'
// response plain output from debugger