Adobe Brackets - debugging Node.js & Node-inspector
-
02-07-2021 - |
题
Quick question: Is it possible to use Adobe Brackets to debug Node.js using Node-inspector. Like be able to step debug in Adobe Brackets?
Thanks
Regards
Chris
解决方案
There's a Brackets extension for "Live Development" with Node.js: https://github.com/DennisKehrig/brackets-v8-node-live
And a general JS debugger extension: https://github.com/jdiehl/brackets-debugger
The problem is they don't work together yet: the debugger assumes you're using the usual Live Development mode, which connects to a Chrome browser instance. The authors of those two extensions collaborate frequently, and I believe at one point they were working on making the extensions compatible (see the "v8bridge" branch in the first extension). I think they'd be pretty responsive if you start a thread in the brackets-dev Google Groups forum with this question.
其他提示
The Theseus project for Brackets is an 'omniscient debugger' that supports inspecting code that's running in Node.