---
title: LAN Debugging
---

## LAN Debugging

Real machine debugging has 2 modes: **remote mode** and **LAN mode**, with remote mode being the default. **LAN mode** needs to be switched in the IDE.

LAN mode requires the IDE and SmartLife to be on the same LAN, and the SmartLife version should be **5.18.0** or later.


### Advantages

Compared to remote mode, LAN mode has the following advantages:
* Faster speed
* More stable internal network
* Lower dependency on the internet

### Switch Mode

<Image 
  src="/images/ide/new/21.png" 
  style={{
      borderRadius: '10px',
      boxShadow: '0 0 5px rgba(0,0,0,0.3)',
    }}
/>


<Image 
  src="/images/ide/new/22.png?321" 
  style={{
      borderRadius: '10px',
      boxShadow: '0 0 5px rgba(0,0,0,0.3)',
    }}
/>
