3dyuval / 3dyuval/nvim

Node.js DAP Debugging Configuration

Aperta
#16 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Fennel
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## 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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.