Open turbo opened 6 years ago
I was able to get the remote debugger working using the Remote configuration (not local with remote profile selected) but breakpoints are all wrong :(
Nervermind, if you create a proper module with src directory set the breakpoints work. However it will break in a current location when first enabling a breakpoint, works properly when you press continue
Here is my configuration for Love2D + Attach Debugger ( IntelliJ IDEA 2019.3 Community Edition / Windows 10 ) and
Hi,
There are a few differences with using Love2d instead of LUA. Both use mobdebug to debug. But Love2d doesn't have "entry point files", it only takes one argument, the project directory. Here's some sample code:
-debug
is the canonical way to make love2d start a mobdebug server (like ZeroBrane does it). This is my config:This works fine for Run, it just calls
/usr/bin/love /home/turbo/Projects/luajtest
. However, debugging doesn't work:Seems like emmy is appending
-e
to the first argument without a space, which of course causes love to crash. How do I get a space in there so that I can door am I doing this completely wrong?