Fix unknown error: Devtoolsactiveport file doesn’t exist in Chrome (2023 updated)

Subscribers:
4,200
Published on ● Video Link: https://www.youtube.com/watch?v=QEF2sTfAhNs



Category:
Vlog
Duration: 1:29
4,496 views
4


Here's how to Fix unknown error: Devtoolsactiveport file doesn’t exist in Chrome.

i. Here are some tips to fix the "unknown error: DevToolsActiveport file doesn't exist" error in Chrome:

* Check if Chrome is up to date. If not, update Chrome to the latest version.
* Check if you have the DevTools extension installed. If not, install the DevTools extension.
* Check if the DevTools extension is enabled. If not, enable the DevTools extension.
* Check if you have the DevToolsActiveport file in your Chrome installation directory. If not, create the file and give it the correct permissions.
* Restart Chrome.

If you are still having trouble, you can contact Google for further assistance.

ii. The DevToolsActiveport file is a file that contains the port number that Chrome uses to communicate with the DevTools debugger. When you open DevTools, Chrome uses this port number to connect to the DevTools debugger.

The DevToolsActiveport file is located in the following directory:

* Windows: C:\Users\angled-bracket-hereusernameangled-bracket-here\AppData\Roaming\Google\Chrome\User Data\Default\
* macOS: ~/Library/Application Support/Google/Chrome/User Data/Default/
* Linux: ~/.config/google-chrome/User Data/Default/

If the DevToolsActiveport file does not exist, or if it is not readable or writable, you will not be able to use DevTools.

iii. To manually create the DevToolsActiveport file, you can follow these steps:

1. Open a text editor.
2. Create a new file and save it as DevToolsActiveport.json.
3. In the file, enter the following text:

{
"port": 9222
}

4. Save the file and close the text editor.
5. Restart Chrome.

When you restart Chrome, Chrome will use the port number that you specified in the DevToolsActiveport.json file to connect to the DevTools debugger.