EmmyLua / IntelliJ-EmmyLua

Lua IDE/Debugger Plugin for IntelliJ IDEA
https://emmylua.github.io
Apache License 2.0
1.74k stars 292 forks source link

Emmy New Debug to be as convenient as mobdebug #502

Open neopaf opened 1 year ago

neopaf commented 1 year ago

Environment(环境)

name version
IDEA version Build #IU-213.7172.25, built on March 15, 2022
EmmyLua version 1.3.6.251-IDEA213
OS OSX 10.15.7 (19H2026)

When activating debug the debug configuration for mobdebug gets created and requires 0 changes of source code.

Dream of something similar for Emmy New Debug.

Maybe an option which debugger to use by default. And... similarly autocreate debug configuration.

CppCXY commented 1 year ago

Emmylua provides multiple debugging methods:

  1. remote debugging based on emmylua new debug, it doesn't rely on luasocket compared to mobdebug
  2. attach debugger(It was taken off because of a virus report)
  3. launch debugger(base on attach debugger)

Emmylua has no public English documentation on the above debugging methods, for attach and launch debugger, you can install this plugin EmmyLua-AttachDebugger-1.0.9.zip