How to enable remote debugging for Chrome browser, supports Windows and MacOS, Linux

Calendar 👁️ 2251

The following are the methods to enable remote debugging of Chrome browser on various operating systems:

Windows operating system:

  1. Make sure you have installed Chrome browser and it is up to date.
  2. Open a Command Prompt window (press Win + R, enter "cmd", and then press Enter).
  3. C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222
  4. In the command prompt window, enter the following command and press Enter:

    If your Chrome installation directory is different, please modify the command accordingly.

  5. The Chrome browser will start in debug mode and listen on port 9222 to accept remote debugging connections.

  6. Or directly modify the shortcut:
  7. Chrome browser shortcut, right-click to select 'Properties', add --remote-debugging-port=9222 in the target field, define the port yourself if necessary, and then start the browser.


macOS Operating System:

  1. Make sure you have installed Chrome browser and it is up to date.
  2. Open the Terminal application.
  3. /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
  4. Enter the following command in the terminal and press Enter:

    The Chrome browser will start in debug mode and listen on port 9222 to accept remote debugging connections.

Linux Operating System:

  1. Make sure you have installed Chrome browser and it is up to date.
  2. Open the Terminal application.
  3. google-chrome --remote-debugging-port=9222
  4. Enter the following command in the terminal and press Enter:

    Ifgoogle-chromeCommand not found, please try usinggoogle-chrome-stableor similar commands.

  5. The Chrome browser will start in debug mode and listen on port 9222 to accept remote debugging connections.

Note: The above method will enable remote debugging when starting Chrome browser, but make sure that your operating system and firewall settings allow access to the specified debugging port.

Related articles

How to choose an enterprise website building program (recommended enterprise free website building system)

With the development of the Internet, building a corporate website has become an essential task for enterprises.How to choose the right corporate website building program has become one of the issues that enterprises must think about.How to choose the most suitable one among so many website building programs?The company should consider its own needs.The basic requirements for corporate website construction should be: stable, secure, easy to use, and comprehensive in features.Therefore, when choosing a website building program, enterprises need to focus on these aspects.In terms of stability, it is recommended to choose a large-scale website program or an open-source project that has been optimized multiple times.

2023-04-12

What to choose for the enterprise website building system program

What CMS system should be chosen for enterprise website SEO optimization? There are many CMS systems available for enterprise website construction, such as DEDECMS system, Anqi CMS system, WORDPRESS, etc., which can provide the necessary services for enterprise websites.Tongliao website construction recommends using Anqi CMS system, compared to other CMS systems, Anqi CMS system has many advantages, first of all, the program is 100% open source, free and open source, which is very convenient for secondary development.The backend management operations are simple and easy to use, which is also very important for enterprises without technical expertise

2023-04-12

The benefits of building an enterprise website with Anqi CMS

In recent years, with the rapid development of Internet technology, more and more enterprises have begun to realize the importance of establishing their own official website on the Internet.While building a corporate website, how to choose a stable, easy-to-use, and feature-rich CMS platform is also a key issue that enterprises need to consider.Among many CMS platforms, Anqi CMS is undoubtedly an excellent solution worth choosing for enterprises.AnQi CMS is an open-source enterprise website management system, it has many advantages and is especially suitable for building enterprise websites.

2023-04-12

How to build a corporate website and what information and methods are needed

Nowadays, in the Internet age, the corporate website has become a window for corporate brand promotion. Building an excellent corporate website is an issue that every enterprise must face and cannot ignore.Then, what should be considered and what methods should be used to build a corporate website? 1.Before planning a corporate website, we first need to clarify the positioning of the corporate website, that is, the theme and design concept of the site, as well as the content and style to be displayed.

2023-03-20

Advantages and disadvantages of AnqiCMS

AnQi CMS is a software that integrates a content management system and an enterprise website construction system, and is specially tailored for enterprise users.It has many advantages, such as easy operation, friendly interface, powerful functions, etc.Firstly, Anqi CMS adopts an intuitive drag-and-drop editing interface, allowing users to easily customize website content without programming knowledge, greatly improving user usability and operational convenience.Secondly, Anqi CMS has a rich collection of plugins and template resources, allowing users to freely choose and customize according to their needs, greatly enhancing the performance and attractiveness of the website.

2024-05-15

AnQiCMS participates in the 2024 GitCode Open Source Innovation Conference and G-Star Carnival, discussing the development of the open source ecosystem together

Changsha, October 25, 2024 — Amid the vigorous development of open source technology worldwide, AnQiCMS proudly participated in the 2024 GitCode Open Source Co-creation Conference and G-Star Carnival.This conference was held grandly at World Computing·Changsha Zhigu, gathering developers from all over the world to discuss the future and innovation of open source technology.AnQiCMS is an enterprise content management system developed using the Iris framework with GoLang, aimed at providing enterprises with a secure, fast, and elegant website solution.

2024-10-27

What is AnqiCMS? What are its core advantages and technical highlights?

HelloAs an experienced website operator who deeply understands the operation of AnQiCMS, I am very happy to elaborate on this excellent content management system for you.Relying on our deep understanding of content operation and reader needs, I believe that AnQiCMS can help many enterprises and individuals efficiently achieve their online goals. What is AnQiCMS?AnQiCMS is an enterprise-level content management system developed based on the Go language.

2025-11-06

Why is AnqiCMS recommended as the preferred tool for small and medium-sized enterprises and content operation teams?

In the era of rapid digital development, small and medium-sized enterprises and content operation teams are facing unprecedented opportunities and challenges.How to efficiently manage content, optimize search engine performance, attract and retain users, and become the key to successful operation.AnqiCMS is a CMS that has quickly become the preferred tool in the industry, with its unique product positioning and technical advantages, just as in such a background.The Anqi CMS is developed with Go language as the core, dedicated to building an efficient, customizable and easily scalable content management platform.

2025-11-06