3dyuval / 3dyuval/nvim

Node.js DAP Debugging Configuration

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Fennel
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.