Skip to content

Commit 2b0e8f8

Browse files
committed
update readme
1 parent 6eb19a7 commit 2b0e8f8

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

README.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -199,25 +199,23 @@ dap.configurations.lua = {
199199
<summary><b>Zed Editor</b></summary>
200200

201201
1. 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

223221
3. Start debugging from the Debug panel

0 commit comments

Comments
 (0)