Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug Remix.run apps with node --inspect or webstorm

I want to use chrome to debug or even webstorm, not interested in VSCode which has a solution.

Also using typescript for added complexity

Usually we just need the entry point of remix.

like image 553
Nikos Avatar asked Mar 03 '26 08:03

Nikos


1 Answers

Try creating a node.js run configuration with cli.js of Remix.

Webstorm configuration for debugging Remix. Javascript file is node_modules/@remix-run/dev/dist/cli.js

like image 140
lencse Avatar answered Mar 06 '26 12:03

lencse