node.js 용 IDE 및 디버거
코딩하는 동안 개선을 돕기 위해 node.js (이전에 PHP에서 작업 했었던) 프로젝트 빌드를 시작하겠습니다. IDE, Debugger 및 node.js 용 도움말 도구는 무엇입니까?
기본적으로 Node.js를 지원하는 여러 IDE가 있습니다.
데스크탑 기반 IDE
- WebStorm- 웹 응용 프로그램을 코딩하는 데 널리 사용되는 매우 강력한 IDE입니다. 애플리케이션 승인시 상용 라이선스 $ 100, 개인 $ 50, 학술 $ 25, 오픈 소스 개발자 무료. Meteor.JS 애플리케이션을 디버깅 할 수도 있습니다.
Cloud9 Local- 데스크톱에도 cloud9의 로컬 사본을 설치하고 작업 공간으로 로컬 디렉토리에서 작업 할 수 있습니다. github 페이지 의 지침 을 따르십시오 . config에서 호환되지 않는 플러그인을 비활성화하십시오. 적절한 디버깅도 제공합니다.
클라우드 기반 IDE
- Cloud9 IDE- 디버깅 및 기타 기능을 포함하여 Node.js 애플리케이션 개발을 기본적으로 지원하는 클라우드 기반 IDE입니다.
- Koding Koding은 Node.js 와 함께 무료 루팅 가능한 VM을 제공합니다. 또한 친구들과 같은 코드로 작업 할 수 있습니다.
이 두 가지 외에는 일반적으로 JavaScript 기반 개발을 단순화하는 거의 모든 코드 편집기 / IDE를 사용할 수 있으며 (예 : 구문 강조 표시, 자동 완성 또는 유사한 항목 사용) 내장 된 V8 디버거 와 함께 노드를 사용할 수 있습니다 .
Microsoft는 Windows, Ubuntu 및 MacOSX에서 크로스 플랫폼 IDE "Visual Studio Code"를 출시했습니다. node.js를 디버그 할 수 있습니다. 여기에서 세부 사항을 확인하십시오.
Koding 은 또 다른 좋은 선택입니다. Node.js, Vim 및 Emacs가 사전 설치되어 제공되며 다른 많은 것 중에서도 훌륭한 개발자 커뮤니티가 있습니다. 다른 몇 가지 주목할만한 기능은 다음과 같습니다.
- Ubuntu, 루트 액세스, apt-get 및 일반적으로 사용되는 여러 도구가 포함 된 무료 가상 머신 (VM)
- 256 색을 지원하는 내장 터미널
- 모든 언어, 데이터베이스 및 명령 줄 도구가 지원됩니다.
- Drag & Drop, Dropbox, Clone from Github, FTP와 같은 다양한 파일 업로드 옵션 및 SSH를 사용하여 액세스하는 기능
- 통합 된 채팅 기능을 통한 실시간 코드 및 터미널 협업
Visual Studio는 이제 아래 링크 된 Node.js 도구를 설치하는 경우 Node.js에 대한 전체 개발 수명주기를 지원합니다.
전체 디버깅, 인텔리 센스, 색상 코딩 등을 허용합니다.
https://nodejstools.codeplex.com/
vim과 unix는 IDE입니다.
디버깅하려는 경우가 node debug foo.js또는 NDB 또는 노드 관리자 또는는 V8 디버거를 사용합니다.
또 다른 옵션은 NodeJS 도구가있는 Netbeans 일 수 있습니다 (솔직히 지금 JetBrains 제품을 사용하고 있기 때문에 요즘 더 이상 사용하지 않지만).
제공하는 것 :
- 노드 프로젝트 유형
- 출력 창에서 클릭 가능한 스택 추적
- 자바 스크립트 파일 (물론 프로젝트)에 대한 노드 액션으로 실행
- 노드 패키지 관리자 (npm)와의 통합 및 라이브러리 추가를위한 매끄러운 UI
- package.json 파일 편집 및 표준 컨텐츠 생성을위한 GUI
- 시스템 별 명령 줄 인수를 저장할 수있는 기능 (NetBeans의 버전 제어를 사용하는 경우 버전 제어에서 제외됨).
- 강조 표시된 스택 추적이 어딘가를 가리 키도록 노드의 소스를 다운로드하는 기능
http://timboudreau.com/blog/read/NetBeans_Tools_for_Node_js
또한 NetBeans 8.1 및 8.2는 Node.js 개발자를위한 몇 가지 기능을 제공 한 것으로 보입니다 ( 여기 및 여기 참조 ).
Eclipse는 JavaScript를위한 좋은 IDE입니다.
이 페이지는 https://portawiki.abnoctus.com/view/NodeIDE.html
eclipseJS를 Google v8 디버거 및 몇 가지 노드 특정 플러그인과 혼합하는 세부 사항
http://code.abnoctus.com/publish/binaries/node-launcher/
구문 강조 표시 및 어느 정도의 코드 완성으로 JS 편집을 지원하는 IDE를 빌드하려면 IDE에서 노드 실행, IDE에서 디버깅, nodeunit을 사용한 단위 테스트 및 NPM을 통해 종속성 가져 오기.
노드 앱을 개발하고 실행하기 위해 여러 IDE를 테스트했습니다. 하지만 저는 Microsoft WebMatrix 2.0 이 매우 편합니다 . Node.js를 실행할 수있는 가볍고 무료 IDE입니다. 시작하기 위한 Express 프레임 워크 용 템플릿이 있습니다 . 그리고 IIS Express를 통해 nodejs 프로세스를 실행할 수 있습니다.
Nodeclipse 에는 Node.js 디버깅을 위해 수정 된 chromedevtools 가 있습니다.
Enide Studio 2014 에는 Nodeclipse, JSHint-eclipse, AngularJS 및 기타 플러그인이 함께 제공됩니다.

(출처 : nodeclipse.org )

(출처 : nodeclipse.org )
http://www.nodeclipse.org/enide/studio/2014/
개인적으로 저는 Cloud9의 IDE에 부분적이지만 최근 다양한 업그레이드로 몇 가지 문제가 발생했으며 온라인 시스템의 증가하는 고통이 문제가 될 수 있습니다.
WebStorm 4 is another option, though I haven't tried it, I did try the plugin in WS3, which wasn't too bad.
From Microsoft (of all places) there's WebMatrix 2 from Microsoft that seems to support Node.JS pretty well. I have discovered that you can actually edit node based js files within the Visual Studio 2012 beta and get intellisense/autocomplete for node scripts probably from webmatrix's developments. I've been using node as a build step for CSS/JS processing, and it's been working well for me.
Aptana Studio and others seem to be scrambling to add proper node support. Right now options are relatively limited, but getting better.
What framework are you using for the frontend? If you're already familiar with Node, you might as well try the open-source and increasingly popular Meteor.JS framework. Check out MeteorPad for literally a one-click IDE for Meteor apps.
You get a virtual machine with MongoDB on it and the Meteor server. A sample project is already loaded, and you can edit the server and client HTML, JS and CSS files. The resulting app runs in the right pane. Makes playing with Meteor super, super easy.
Node is a relatively new project so there is not widespread IDE support yet. However there actually is an online IDE called Cloud9 IDE that you might want to check out. Otherwise I suggest you use a local editor such as vim or emacs.
See how-to-debug-node-js-applications for more information on debugging.
GitHub's programmable text editor Atom has node.js integration.
Try Microsoft's https://code.visualstudio.com. Its awesome.
Facebook's Nuclide has a number of IDE-esque features including dynamic typechecking (via flow), in-code linking, auto complete, etc. It's based on GitHub's Atom so you can pick and choose Nuclide packages as you see fit.
WebStorm 3.0 does all this stuff. It auto completes in a smart way, includes nice debugging and unit testing. It also include number of inspection for javascript, which is also pleasant. Now RC version is available, but JetBrains assure that it'll be released soon.
I use IntelliJ's Webstorm: http://www.jetbrains.com/webstorm for it's advance auto-complete features and Node.js/NodeUnit templates.
참고URL : https://stackoverflow.com/questions/5652972/ide-and-debugger-for-node-js
'Program Club' 카테고리의 다른 글
| Spring Boot Controller 엔드 포인트에 대한 단위 테스트를 작성하는 방법 (0) | 2020.11.08 |
|---|---|
| PHP에는 Python의 목록 이해 구문과 동등한 기능이 있습니까? (0) | 2020.11.08 |
| std :: future의 상태 가져 오기 (0) | 2020.11.08 |
| 플롯에서 파이썬 데이터 포인트에 레이블 지정 (0) | 2020.11.08 |
| SQL에서 "@"기호는 무엇을합니까? (0) | 2020.11.08 |