3dyuval / 3dyuval/nvim

Node.js DAP Debugging Configuration

未关闭
#16 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Fennel
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

## Issue Description
Current nvim-dap configuration for Node.js debugging is broken with RPC errors:
- `attempt to call method 'tostring' (a nil value)` in rpc.lua:23
- js-debug-adapter exits with code 1
- Mixed adapter configurations causing conflicts

## Current State
- Chrome debugging works properly
- Node.js debugging fails completely
- Configuration mixes node2 and pwa-node adapters incorrectly

## Requirements
1. Implement robust Node.js debugging with js-debug-adapter
2. Support TypeScript debugging with ts-node
3. Maintain existing Chrome debugging functionality
4. Follow Graphite keymap conventions (no hjkl)
5. Add proper error handling and logging

## Acceptance Criteria
- [ ] Single file Node.js debugging works
- [ ] TypeScript debugging with source maps
- [ ] Process attachment debugging
- [ ] launch.json compatibility
- [ ] Proper adapter configuration without RPC errors
- [ ] Test with headless Neovim as per AGENTS.md

## Technical Notes
Consider using proven configuration from nikolovlazar/dotfiles with:
- microsoft/vscode-js-debug adapter
- nvim-dap-vscode-js wrapper
- Proper build automation

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。