Updated debug files still cannot debug
- After updating the extension, copy the latest files from the extension’s luadebug folder into the project and confirm they are loaded.
- Unity: confirm the runtime is not reading an old AB / cached script.
- Confirm StartDebug is not commented out and the port matches launch.
Indexing takes a long time when starting debug
Do not open the whole game / engine repo as the workspace; narrow with scriptRoots / ignoreDir.
Cannot reach account server / login fails
- Check network and
luadebug.serverUrl(must be HTTPS). - Confirm email verification finished.
- Update to the latest LuaDebug and retry.
Installed but cannot debug
- Disable other Lua debug extensions.
- Custom loader chunkname must be a real path.
- If LuaSocket is missing, enable it per your framework.
- On a device, use the PC’s LAN IP as host.
module 'socket.core' not found
The project has not integrated LuaSocket (or not fully). Cocos needs network / luasocket bindings on the engine side; Unity frameworks differ — check that framework’s docs.
Stack paths wrong / jumping to wrong files
- Check that localRoot points at the correct script root.
- Multiple game folders in one workspace: see Debug · Multiple game folders.
- Unity DoString: strip a wrong suffix from chunkname or use a real path.
macOS LuaTest Permission denied
Check extension folder permissions, or allow the program in System Settings; reinstall the extension if needed.
Extension stuck or will not start
- Update the editor and LuaDebug.
- Temporarily disable C# / Unity debug extensions.
- Clear this extension’s data and reinstall.