File tree Expand file tree Collapse file tree 1 file changed +15
-17
lines changed
Expand file tree Collapse file tree 1 file changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -199,25 +199,23 @@ dap.configurations.lua = {
199199<summary ><b >Zed Editor</b ></summary >
200200
2012011 . Open your project in Zed
202- 2 . Create or edit ` .zed/launch .json ` :
202+ 2 . Create or edit ` .zed/debug .json ` :
203203
204204``` json
205- {
206- "version" : " 0.2.0" ,
207- "configurations" : [
208- {
209- "type" : " emmylua" ,
210- "request" : " launch" ,
211- "name" : " EmmyLua Debug" ,
212- "program" : " /path/to/emmylua_dap" ,
213- "host" : " localhost" ,
214- "port" : 9966 ,
215- "sourcePaths" : [" $ZED_WORKTREE_ROOT" ],
216- "ext" : [" .lua" , " .lua.txt" , " .lua.bytes" ],
217- "ideConnectDebugger" : true
218- }
219- ]
220- }
205+ [
206+ {
207+ "label" : " EmmyLua Debug" ,
208+ "adapter" : " emmylua_new" ,
209+ "type" : " emmylua_new" ,
210+ "request" : " launch" ,
211+ "host" : " localhost" ,
212+ "port" : 9966 ,
213+ "sourcePaths" : [" $ZED_WORKTREE_ROOT" ],
214+ "ext" : [" .lua" , " .lua.txt" , " .lua.bytes" ],
215+ "ideConnectDebugger" : true
216+ }
217+ ]
218+
221219```
222220
2232213 . Start debugging from the Debug panel
You can’t perform that action at this time.
0 commit comments