ali1k / ld-r

Linked Data Reactor (LD-R)
http://ld-r.org
Other
127 stars 30 forks source link

Debugging #85

Closed ccolonna closed 4 years ago

ccolonna commented 4 years ago

Is there a way to attach a debugger to ld-r process (VScode debugger, ChromeDevTools, ...) ? I'm finding difficulties on managing to work a debugger with this isomorphic app bundled with webpack. I'm not sure (just guessing) but I wonder if the transformation operated by webpack + babel cuts the map with original files. Do someone already face this problem?

Expected Behavior

Code execution stops on breakpoint both on client and server files.

Actual Behavior

Breakpoint not working

Steps to Reproduce the Problem

  1. Launch $ node --inspect webpack/dev-server.js from ld-r root directory
  2. attach a debugger to the running process
  3. Navigate to a file and set a breakpoint (in Chrome Dev Tools)

Specifications

ali1k commented 4 years ago

I am not aware of any. Maybe you can find some tools for https://fluxible.io that is basically the framework behind ld-r.

ccolonna commented 4 years ago

Cannot be able to find any debugger working with fluxible