Atom Inspector For Mac

Modify Atom - open the Modify Structure dialog Set Pivot - set fixed center of rotation at the atom Inspect - open Selection Inspector. For an atom when one other atom is selected: Show Distance - create a distance monitor between the two atoms Inspect - open the Selection Inspector. For an atom when two other atoms are selected. The Inspector is a visual representation of the state of your application along with the ability to perform certain interactions in your application through Appium. Appium sessions can take some time to load, especially on cloud services, so please be patient. When the session loads, a screenshot of your app will appear on the left. Espresso is an advanced web editor built for Mac users to build delightful, speedy, and innovative websites as it combines virtually all the tools they will need into a single working environment such as CSSEdit tools, Server sync, a Navigator, Live Preview with Browser Xray, Dynamo auto-building, and an exceptionally beautiful UI compliant with the macOS aesthetic.

If you have anything to contribute -- e.g. configurations for editors, new editors, or opinion -- don't hesitate to edit or create pages.

There's an EditorConfigurationHowto available.

Contents

Please keep wiki links as wiki links, use external links only if there is no existing page for the editor. Please add pages like BoaConstructor also to page IntegratedDevelopmentEnvironments.

Multiplatform Editors

Name

Platform

Impl. Language

License

Notes

Linux, FreeBSD

Python, GTK

GPLv3

Embed Vim. Little brother of PIDA

Unix/X, Windows, Mac OS X

Tcl/Tk

Proprietary

Extensible in Tcl, Tk; Can interact with python.

Unix/X, Windows, Mac OS X

Python

MIT

Python language support for Atom-IDE, powered by the Python language server.

Linux, Windows, Mac OS X

C++, wxWidgets

GPLv3

class browser does not currently work for .py files, but it's still a nice IDE to use for python projects

Linux, Windows, Mac OS X

C, GTK+

GPLv3

The link points to the features page.

Linux, Windows, FreeBSD

C

GPLv3

Cream is a free and easy-to-use configuration of the powerful and famous Vim text editor for both Microsoft Windows and GNU/Lfinux.

Unix/X, Windows, Mac OS X

C, GTK+

GPLv2

CSS editor with syntax highlighting for Python, and embedded Python interpreter. Extensible through a Python API.

Unix/X, Windows, Mac OS X

Python, wxPython

BSD

Extensible in Python; part of PythonCard. Includes PyCrust shell.

Linux, Windows, Mac OS X

Python, PyQt

GPLv3

Complete IDE, very well integrated with PyQT development, but usable for any kind of project. Supports projects, debugging, auto-complete, syntax coloring, etc. It is extensible via plug-in system. Integrated version control interface for Git, Subversion and Mercurial through core plugins. eric6 requires Python 3 (and, if desired, PyQt5), and supports CxFreeze and PyInstaller, Django and Pyramid, PyLint and Vulture

Unix/X, Windows, Mac OS X

Proprietary

BRIEF-compatible, supports Python syntax, in-buffer Python interpreter, supports lots of languages. Powerful macro language.

Windows, Mac OS X, Linux

Tcl/Tk

Public domain

DRAKON diagram editor with code generation in Python.

Windows, Linux and Mac/MacPorts

Python, PyGTK

GPLv3

Interactive shell with history box and code box, auto-completion of attributes and file names, auto-display of function arguments and documentation. Keeps your recent results, provides session history saving (optionally in HTML), interactive plotting with matplotlib. Extremely fast and responsive.

Unix/X, Windows, Mac OS X

Python, wxPython

GPL

Simple, Highly Customizable Editor/Environment. A Tribute to DrScheme.

Unix/X, Windows, Mac OS X

Java

EPL

Eclipse is ... an open extensible IDE for anything and nothing in particular.' Support for Python can be obtained via the PyDEV plugin.

Linux, Windows

Proprietary

Built-in Python syntax highlighting, Python class browsing, Python-compatible regular expressions, code folding, and extensive options for running external tools such as Python scripts.

Linux, Windows, Mac OS X

Python, wxPython

wxWindows

A general purpose developer's text editor written in Python/wxPython. It supports python syntax highlighting, auto-ident, auto-completion, classbrowser, and can run scripts from inside the editor. Extensible with plugins written in python.

Unix/X, Windows, Mac OS

C, Lisp

GPLv3

Python support with EmacsPythonMode. Extensible in Python using pymacs

Linux, Windows, FreeBSD and OS/2

Proprietary

Customizable Python mode, syntax coloring, function tagging.

Linux, Windows, Mac OS

Python, PyQt4

GPLv3

Extensible editor written in Python, Python/C/Nim code tree browser, 3-window editing, text diff, multi-language support, Python REPL, manipulate editor text with Python code

Unix/X, Windows, DOS, OS/2

C++

GPL

Supports lots of languages, including Python; doesn't seem programmable

Unix/X, Windows

C, GTK+

GPLv2

A small and lightweight GTK+ IDE that supports lots of languages, including Python.

Unix/X, Windows, Mac OS

C, Python

GPLv2

gedit is the official text editor of the GNOME desktop environment, with Python syntax highlighting.

Unix/X, Windows, Mac OS

Python, PyQt

Proprietary

Ideas is a feature rich IDE that supports debugging, interpreting and project management.

Linux, Windows, Mac OS X

Java

GPLv2

syntax coloring for python, extensible with jython, supports many file formats, has folding, fully customisable, has sidebar for class and functions, fast for a Java application

Unix, Windows, Mac OS

Java

GPLv3

IDE with Jython Shell. Syntax coloring for python, extensible with jython, supports many file formats, fully customisable, has sidebar for class and functions

Unix, Windows

C

GPLv2

Supports Python syntax and a Python-specific menu.

Unix, VMS, MSDOS, OS/2, BeOS, QNX, and Windows.

C

GPLv2

Syntax highlighting and indenting, (optional) emacs keybindings, programmable with s-lang. Note: comment out 'msw_help(...' line in pymode.sl if you are having problems on Windows.

Unix, Windows, Mac OS

Java

GPLv2

Has three plugins - one for Jython and one for Python/Jython JpyDbg - interactive editing debugging, code browsing, highlighting.

Linux, Windows, Mac OS

Java, Python

GPL

NetbeansjEdit cross IDE plugin

Unix/OSX/Cygwin/Interix (curses), MS-DOS (DR DOS, FreeDOS, Win, OS/2 DOS-Box)

C

GPL

Versatile WordStar-like editor (JOE fork) with many colourised syntax-highlighting modes

Linux, Windows, Mac OS

C++

GPLv2

Kde main developping app. Code folding, syntax highlighting, navigator. projects, class browser, version control, customizable keybindings. Comes also with some typical python project models: pyton Qt app, Tkinter app and simple script.

Unix, Windows, Mac OS X

Proprietary

Komodo is an award winning Python IDE from ActiveState. Fully-integrated Python 3 support featuring code intelligence with autocomplete and calltips, Python debugger (includes remote debugging), interactive shell, remote file support, macros, templating, emacs command support and great help documentation. There is also an open-source version called Komodo Edit (Source), as part of the Open Komodo project started November 2007.

Unix/X, Windows, Mac OS X

Proprietary/Open Source

scaled-down version of Komodo IDE which also supports Python, but excludes the integrated debugger.

Unix/X, Windows, Mac OS X

Python, wxPython

GPLv3

Python IDE with focus is on simplicity and ease of use. It is fast and lightweight. It features Python indentation, line numbers, code folding, syntax highlighting, shell access, code completion, a program runner, a source browser, indentation guides, a white space indicator, autosaving, an edge line, multiple tabs, printing, jumping to a specific line, word searching, word replacement, zooming undo/redo, pastebin.com code submission, Python syntax checking, the ability to change the indentation of many lines at once, autocompletiton, and bad brace checking.

Linux, Windows, Mac OS X

Python, PyQt

MIT

Outlining editor, fully scriptable and extensible, supporting literate programming. 100% pure Python code.

Unix, Windows

C, GTK+

LGPL

Gtk editor with python bindings, allows plugins written in python.

Linux, Windows

C

GNU GPL

Small, terminal-based editor, Syntax highlighting

Unix, Windows, Mac OS X

C

GPLv3

Easy to use, small, powerful, fast, terminal-based editor. Supports UTF-8, syntax highlighting, undo, autocomplete, macros, regexes, bookmarks. v2.4 released 2012-04

Unix/X, Windows, Mac OS X

C

GPLv2

X-Based, Python support builtin.

Unix/X, Windows, Mac OS X, others

Java

GPLv2

Netbeans is an open extensible cross platform IDE ; Support for Python can be obtained via the JpyDbg plugin. A new plugin exists for Netbeans 6.5 or newer - info.

Linux, Windows, Mac OS

Python, PyQt4

GPLv3

Lightweight and extensible editor. Class browser, project manager, PEP8 finder, virtualenv, plugin support

Unix/X, Windows, Mac OS X

Python, wxPython

GPLv2

wxPython based editor. Can be easily extended with mixins and plugins, and has many features. Seems to be biased towards Python web development as contains FTP GUI, RSS aggregator and HTML preview.

Windows NT, Linux (with GTK+ 2)

C++, wxWidgets

Freeware

Easy to use text editor with syntax highlighting for Python. Embeds the Python interpreter to extend functionality of the application

Linux, Windows, Mac OS X

Java

Apache 2.0

Full-featured IDE for Python. Has Free and Open Source edition fully supporting Python as well as proprietary Professional Edition with Django, Flask, Pyramid and Google App Engine support.

Linux, Windows, Mac OS X

Java, Eclipse

EPL

Eclipse plugin. Code-completion. Debugger. Under active development. (ShowMeDo Videos)

Linux, Windows

Python, Tk

GPLv3

Ultra-lightweight Python/text editor made in Python with Tk. Emphasis on easy customization and no-bloat attitude.

Unix, Windows, Mac OS X

Python, wxPython

GPLv2

Written in Python - code folding, snippets, unicode, multiple documents, code completion, several languages, macros.

Linux, Windows, Mac OS X

MIT

Free open-source extension for Visual Studio Code. Supports syntax highlighting, debugging, code completion, code navigation, refactoring, with support for Django, multi threaded, local and remote debugging.

Windows/Linux/Mac (wxPython)

Python

GPLv3

An interactive environment for python features include: Multiple independent python interpreters. Interactively program with different GUI toolkits (wxPython, TkInter, pyGTK, pyQT4 and PySide). Matlab style namespace/workspace browser. Object auto-completions, calltips and multi-line command editing in the console. Object inspection and python path management. Simple code editor and integrated debugger.

Unix/X, Windows, Mac OS X

Python, PySide

BSD License

Open-source Python IDE focused on interactivity and introspection, which makes it very suitable for scientific computing. Its practical design is aimed at simplicity and efficiency. Pyzo consists of two main components, the editor and the shell, and uses a set of pluggable tools to help the programmer in various ways: e.g. source structure, interactive help, workspace, file browser (with functionality for searching). Also includes a post-mortem debugger.

SciTE

Windows, Linux (GTK+)

C++

MIT-Like

A highly configurable light-weight source code editor (about 50 file formats) based on widely-used Scintilla rich text widget/control. Features: sytax highlighting, code folding, auto-indent, brace matching, codepage/unicode support, multiple documents, context help, code execution, output pane, external tools support, RegExp find/replace, text export (HTML, RTF, PDF, LaTeX, XML). Python API for calltips and autocompletion available.

Windows, Linux, Mac OS X

Python, wxPython

GPLv3

Stani's Python Editor. Auto indentation, auto completion, call tips, syntax coloring/highlighting, UML viewer, class explorer, source index, auto todo list, sticky notes, integrated PyCrust shell, Python file browser, recent file browser, drag&drop, context help. Blender support with a Blender 3D object browser, runs interactively inside Blender. Ships with WxGlade (GUI designer), PyChecker (source code doctor) and Kiki (regular expression console). Extensible with WxGlade. (ShowMeDo Videos)

Windows, Linux, macOS

Python, PyQt5

MIT

Spyder is a powerful scientific environment written in Python, for Python,and designed by and for scientists, engineers and data analysts. It features a unique combination of the advanced editing, analysis, debugging and profiling functionality of a comprehensive development tool with the data exploration, interactive execution, deep inspection and beautiful visualization capabilities of a scientific package. Furthermore, Spyder offers built-in integration with many popular scientific packages, including NumPy, SciPy, Pandas, IPython, QtConsole, Matplotlib, SymPy, and more. Beyond its many built-in features, Spyder's abilities can be extended even further via first- and third-party plugins. It is conveniently integrated in the cross-platform Anaconda distribution, and is the centerpiece of the Python(x,y) and WinPython distributions for Windows.

Unix/X, Windows, Mac OS X

Proprietary

Syntax coloring, popup function arguments, class hierarchy browser, graphical debugger, and other nice Python features. Context tagging with class/module namespaces, code navigation, and smart indenting are also supported.

Linux, Windows, Mac OS X

C++, Python

Proprietary

Beautiful interface, Python syntax highlighting, Python plugins.

Linux, Windows, Mac OS X

Python

MIT

For teaching/learning programming. Focused on program runtime visualization. Provides stepping both in statements and expressions, no-hassle variables view, separate mode for explaining references etc.

Unix/X, Windows, Mac OS

C

Charityware

Highly configurable text editor built to enable efficient text editing. Syntax coloring, indenting, autocompletion, and source-navigation tools for Python. Can be scripted in Python. See also Cream.

Unix/X, Windows, Mac OS X

Proprietary

Powerful commercial IDE designed specifically for Python. Auto-completion, call tips, syntax highlighting, goto-definition, keyboard modes for emulating Visual Studio, VI/Vim, Emacs, & Brief, graphical debugger, code browser, integrated shell, scriptable in Python, and much more. (ShowMeDo Videos)

Linux, Windows

Python, wxPython

GPL

Simple text editor written in python. Syntax highlighter, Code fold, Export code in HTML...

Unix-Only Editors

Atom inspector for mac download

Name

Platform

FreeSoftware?

ZeroPrice?

Notes

Unix + GTK

X

Supports debugging Python, Tcl, Ruby, Perl, Lua scripts. Code intelligence (Code completion, folding, auto-complete, code snippets, syntax highlighting matching tags, show keyword or variable information when mouse over...). Keyword help and improved script document. Integrated commonly-used scripting libraries (Tk, wxPython, Pygame, Pmw, Numeric...). Supports compiling python scripts to Windows EXE files.

Windows-Only Editors

Name

Platform

Impl. Language

License

Notes

Windows

C++

GPL

Notepad++ is a free source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License. Based on the powerful editing component Scintilla, Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. By optimizing as many routines as possible without losing user friendliness, Notepad++ is trying to reduce the world carbon dioxide emissions. When using less CPU power, the PC can throttle down and reduce power consumption, resulting in a greener environment.

Windows

Pascal/Delphi

MIT

Free and open-source Python IDE created with the ambition to become competitive in functionality with commercial Windows-based IDEs

Macintosh-Only Editors

Name

Platform

Notes

Mac OS

Python-mode extensible in Tcl

Mac OS X 10.4 or later

Full-featured text editor; includes Python support. TextWrangler is the free version (see below).

Mac OS X 10.7 or later

General purpose editor with autocompletion for the Python standard library, plus inline documentation.

Mac OS X 10.4 or later

'text editor + file transfer + svn + css + terminal + books + more = whoah. welcome to coda. grow beautiful code.'

Mac OS X (Cocoa)

Programmer's text editor with Python syntax highlighting. Written in Python with PyObjC. Open-source (GPL).

OS X (Cocoa)

Fork of Smultron. No longer under development

Mac OS

Included in MacPython distribution.

Mac OS 68k Mac OS 9 Mac OS X

Does not initially include Python support but new language modes can be created. One available here Mi_Python

Mac OS X

Python syntax coloring. Allow multiple author to edit the same file collaborativelly over the network using 'Bonjour' (previously Rendezvous).

Mac OS X 10.4 or later

Free and full-featured text editor based on BBEdit. Includes Python syntax highlighting.

Mac OS X

Free IDE and text editor. Includes Python syntax coloring.

Mac OS X 10.3.9+

Great Cocoa editor with Python support including syntax coloring, integrated documentation, and a runtime wrapper with hyperlinked tracebacks. Note that code-folding of classes is currently broken for PEP 8 compliant code.

Mac OS X 10.6 or later

Again under active development, support for Python syntax coloring. Only available in the Mac App Store.

Mac OS X 10.3 or later

Free OS X based IDE for the Python (and other) programming language (replaces discontinued PyOXIDE), with syntax coloring, completion, tool tips, source level debugger, help browser, etc...

Mac OS X 10.6 or later

Free text editor, with Python syntax highlighting. A paid pro version with more features is also available.

Online Editors

Name

Notes

A general web-based IDE with support for Python. Provides a full Ubuntu environment with Python 2.7.6, and support for Django workspaces.

An interactive Python IDE for data exploration and visualization. Provides a full online Anaconda-based Python environment, with real-time collaboration, interactive IPython sessions, and easy publishing of output figures and code. Includes syntax highlighting and autocomplete. The service was shut down on 2nd Jan 2017

'Host, run, and code Python in the cloud!' Free and paid plans include access to multiple versions of CPython, PyPy, IPython notebooks, a large selection of third-party modules, bash and MySQL shells, and more.

An online IDE for numerical and data science computing experiments - includes: real-time collaboration, a customizable editor, a console and much more. The basic account is free of charge.

A collection of computational mathematics tools in the cloud, including IPython notebooks, SageMath, Numpy/Scipy/Matplotlib, and Cython.

Continuum Analytics' (distributors of the Anaconda Python distribution) hosted data analysis environment. Includes IPython notebooks, data visualization methods like matplotlib and bokeh, ability to add AWS nodes and clusters, command-line shells, file storage, SSH access, and other elements. (Some features require paid account)

Mac

Glorified Editors

'IDEs' that don't integrate anything Python-specific go here.

Name

Platform

Notes

Unix + GNOME

Cross-language IDE; syntax coloring & folding for Python.

Linux x86

Commercial IDE with support to 30 other languages.

Unix

Commercial cross-language IDE; nice multi-user project manager.

Windows

Cross-language IDE with integrated SQL support and automation features (currently German only GUI)

Python + wxPython

Simple, Highly Customizable Editor/Environment. A Tribute to DrScheme.

Java + Jython + Python

An OpenSource IDE for Python, Jython, and Java. Supports Syntax highlighting, Code Completion and many more. Developed in Java.

Python + Tkinter + Tix

An extended version of IDLE using Tix.

Java

Java IDE with Python support through Pythonid plugin - includes code completion, syntax & error highlighting, intra-file refactoring

Unix + KDE

Cross-language IDE for KDE - supports Python syntax/projects.

Java

A Java IDE with an optional plugin for Jython.

Windows/X (Python+wxPython)

Written in Python - code folding, snippets, unicode, multiple documents, code completion, several languages, macros.

Windows

Available either as part of ActiveState's ActivePython distribution (which is not open source) or as part of the Win32All extensions from Mark's pages (which is open source).

Unix/Windows/Mac

rope is a python IDE aimed at providing a rich set of software refactorings.

Unix/Windows with Tcl/Tk

Cross-language IDE & Source code analysis tool.

Eclipse

Python and PHP IDE; available in commercial Professional and open-source Foundation versions

Windows

GUI designer for wxPython.

Linux/Windows/Mac

Full featured, free IDE bundled with wxPython, features projects, scintilla, and debugging

Unix/Windows/Mac

Non-free Cross-language GUI dialog designer with integrated support for editing your Python callback functions.

Unix/Windows/Mac

A 'designer' for WxPython (requires wxPython)

Unix/Windows/Mac

Multi-language editor that support python autocomplete, Direcotry/class browser, tags/multi-views editing, unicode, and Django wizard(requires wxPython)

Python Tkinter

GUI, class browser, file manager, with code completion. Licensed under the GPL.

Enhanced Python shells

Name

Platform

Notes

Python + PyCrust

Interactive Python shell included in wxPython.

Python + PySlices

New 'notebook' version of PyCrust with save/load features and the ability to run blocks of code in separate 'slices'.

Unix, Mac OS X, Windows

Enhanced interactive Python shell. Also usable as pythonic system shell (bash/cmd.exe) replacement. Supports autocompletion. Inline syntax highlighting. (ShowMeDo Videos)

Java, at least 1.4

Interactive, embeddable Jython shell with code completion. Licensed under the QPL.

Python, Windows

Interactive python shell using wxPython. py script and exe for win. Data plotting capability from within the shell. Free.

KDE

An interactive Python shell using PyKDE and a KHTMLPart (for HTML rendering).

Python 2.3 (or higher) and PyQt

An interactive Python shell using PyQt.

Unix, Mac OS X

Interactive shell with highlighting and autocomplete.

Atom Inspector For Mac

Mobile Device Editors

'IDEs' that run on mobile devices and tablets.

Name

Platform

Notes

iOS

Universal iOS (iPod Touch, iPhone, iPad) IDE.

iOS

Universal iOS (iPod Touch, iPhone, iPad) IDE.

iOS

Universal iOS (iPod Touch, iPhone, iPad) IDE.

iOS

Universal iOS (iPod Touch, iPhone, iPad) IDE.

iOS

A patch of Python-3.7.1, designed to make it compile on iOS. Python becomes a framework, and your programs call python_main(argc, argv) to execute python scripts.

iOS

IDE for iPad

iOS

IDE for iOS with native graphic and sound support through high-level API; games and interactive demos included

iOS

IDE for iPhone and iPad with Python 3 support. Custom library is supported. See Python Box page for details.

Other Resources

  • PySmell provides autocompletion for Vim, Emacs and TextMate

Never ending debate

  • EmacsVsVi

CategoryEditors

Edit on GitHub

This guide will help you get started debugging your Node.js apps and scripts.

Enable Inspector

When started with the --inspect switch, a Node.js process listens for adebugging client. By default, it will listen at host and port 127.0.0.1:9229.Each process is also assigned a unique UUID.

Inspector clients must know and specify host address, port, and UUID to connect.A full URL will look something likews://127.0.0.1:9229/0f2c936f-b1cd-4ac9-aab3-f63b0f33d55e.

Node.js will also start listening for debugging messages if it receives aSIGUSR1 signal. (SIGUSR1 is not available on Windows.) In Node.js 7 andearlier, this activates the legacy Debugger API. In Node.js 8 and later, it willactivate the Inspector API.

Security Implications

Since the debugger has full access to the Node.js execution environment, amalicious actor able to connect to this port may be able to execute arbitrarycode on behalf of the Node.js process. It is important to understand the securityimplications of exposing the debugger port on public and private networks.

Exposing the debug port publicly is unsafe

If the debugger is bound to a public IP address, or to 0.0.0.0, any clients thatcan reach your IP address will be able to connect to the debugger without anyrestriction and will be able to run arbitrary code.

By default node --inspect binds to 127.0.0.1. You explicitly need to provide apublic IP address or 0.0.0.0, etc., if you intend to allow external connectionsto the debugger. Doing so may expose you to a potentially significant securitythreat. We suggest you ensure appropriate firewalls and access controls in placeto prevent a security exposure.

See the section on 'Enabling remote debugging scenarios' on some advice on howto safely allow remote debugger clients to connect.

Local applications have full access to the inspector

Even if you bind the inspector port to 127.0.0.1 (the default), any applicationsrunning locally on your machine will have unrestricted access. This is by designto allow local debuggers to be able to attach conveniently.

Browsers, WebSockets and same-origin policy

Websites open in a web-browser can make WebSocket and HTTP requests under thebrowser security model. An initial HTTP connection is necessary to obtain aunique debugger session id. The same-origin-policy prevents websites from beingable to make this HTTP connection. For additional security againstDNS rebinding attacks, Node.jsverifies that the 'Host' headers for the connection eitherspecify an IP address or localhost or localhost6 precisely.

These security policies disallow connecting to a remote debug server byspecifying the hostname. You can work-around this restriction by specifyingeither the IP address or by using ssh tunnels as described below.

Inspector Clients

Several commercial and open source tools can connect to the Node.js Inspector.Basic info on these follows:

  • CLI Debugger supported by the Node.js Foundation which uses the Inspector Protocol.
  • A version is bundled with Node.js and can be used with node inspect myscript.js.
  • The latest version can also be installed independently (e.g. npm install -g node-inspect)and used with node-inspect myscript.js.

Chrome DevTools 55+, Microsoft Edge

  • Option 1: Open chrome://inspect in a Chromium-basedbrowser or edge://inspect in Edge. Click the Configure button and ensure your target host and portare listed.
  • Option 2: Copy the devtoolsFrontendUrl from the output of /json/list(see above) or the --inspect hint text and paste into Chrome.

Atom Inspector Mac

Visual Studio Code 1.10+

  • In the Debug panel, click the settings icon to open .vscode/launch.json.Select 'Node.js' for initial setup.

Visual Studio 2017

  • Choose 'Debug > Start Debugging' from the menu or hit F5.
  • Detailed instructions.

JetBrains WebStorm 2017.1+ and other JetBrains IDEs

Atom Inspector For Mac Free

  • Create a new Node.js debug configuration and hit Debug. --inspect will be usedby default for Node.js 7+. To disable uncheck js.debugger.node.use.inspect inthe IDE Registry.
  • Library to ease connections to Inspector Protocol endpoints.
  • Start a Node.js debug configuration from the Debug view or hit F5. Detailed instructions

Eclipse IDE with Eclipse Wild Web Developer extension

  • From a .js file, choose 'Debug As... > Node program', or
  • Create a Debug Configuration to attach debugger to running Node.js application (already started with --inspect).

Command-line options

Atom Inspector For Mac Os

The following table lists the impact of various runtime flags on debugging:

FlagMeaning
--inspect
  • Enable inspector agent
  • Listen on default address and port (127.0.0.1:9229)
--inspect=[host:port]
  • Enable inspector agent
  • Bind to address or hostname host (default: 127.0.0.1)
  • Listen on port port (default: 9229)
--inspect-brk
  • Enable inspector agent
  • Listen on default address and port (127.0.0.1:9229)
  • Break before user code starts
--inspect-brk=[host:port]
  • Enable inspector agent
  • Bind to address or hostname host (default: 127.0.0.1)
  • Listen on port port (default: 9229)
  • Break before user code starts
node inspect script.js
  • Spawn child process to run user's script under --inspect flag; and use main process to run CLI debugger.
node inspect --port=xxxx script.js
  • Spawn child process to run user's script under --inspect flag; and use main process to run CLI debugger.
  • Listen on port port (default: 9229)

Enabling remote debugging scenarios

We recommend that you never have the debugger listen on a public IP address. Ifyou need to allow remote debugging connections we recommend the use of sshtunnels instead. We provide the following example for illustrative purposes only.Please understand the security risk of allowing remote access to a privilegedservice before proceeding.

Let's say you are running Node.js on a remote machine, remote.example.com, thatyou want to be able to debug. On that machine, you should start the node processwith the inspector listening only to localhost (the default).

Now, on your local machine from where you want to initiate a debug clientconnection, you can setup an ssh tunnel:

This starts a ssh tunnel session where a connection to port 9221 on your localmachine will be forwarded to port 9229 on remote.example.com. You can now attacha debugger such as Chrome DevTools or Visual Studio Code to localhost:9221,which should be able to debug as if the Node.js application was running locally.

Legacy Debugger

The legacy debugger has been deprecated as of Node.js 7.7.0. Please use--inspect and Inspector instead.

When started with the --debug or --debug-brk switches in version 7 andearlier, Node.js listens for debugging commands defined by the discontinuedV8 Debugging Protocol on a TCP port, by default 5858. Any debugger clientwhich speaks this protocol can connect to and debug the running process; acouple popular ones are listed below.

The V8 Debugging Protocol is no longer maintained or documented.

Start node debug script_name.js to start your script under the builtincommand-line debugger. Your script starts in another Node.js process started withthe --debug-brk option, and the initial Node.js process runs the _debugger.jsscript and connects to your target.

Debug your Node.js app with Chrome DevTools by using an intermediary processwhich translates the Inspector Protocol used in Chromium to the V8 Debuggerprotocol used in Node.js.

Comments are closed.