JetBrainsRider2020 installs EmmyLua
1. Install plug-in EmmyLua on the main interface
Configure - Plugins - EmmyLua
2. Setup interface to install EmmyLua
File - Settings - Plugins - EmmyLua
Add JetBrainsRider debugger
Add the debugger according to the above figure, and copy the code to the initialization script of lua. For example start.lua
breakpoint debugging
Start unity first, and make sure start.lua is running.
Then breakpoint the lua script.