chrome-profiles folder takes too much disk space(over 20GB)

platform: windows 11

webstorm version: 2025.2

Problem: appData/local/jetBrains/webstorm2025.2/chrome-profiles takes too large disk space

I am not sure my using behavior is related, anyway I used to debug 3-4 git branches via projects at sametime and 15 branches ish over all, switch between them very frequently.

here is the analysis data table by WizTree

 

I am wondering will webstorm create one more folder by what machenism?

and could I change the dest folder to another disk? or can I just delete the older ones?

0

These are temporary Chrome user data dirs created when debugging in Chrome. The IDE needs to pass the --remote-debugging-port option to Chrome in order to attach a debugger; Chrome is started with a new fresh profile to ensure that no instances with the same user data are running so that the debug flag can be passed.

You can delete these folders and then set up Chrome to run with your user data:

  • Save your preferred Chrome user data on your computer in a separate custom directory different from the Chrome default user data directory. You need to save your preferred user data in a separate custom directory because Chrome 136 and later does not support debugging in the default user directory. Learn more from the Chrome official website.
  • Press Ctrl+Alt+S to open settings and then select Tools | Web Browsers and Preview.
  • Select the Chrome configuration and click the Edit button.
  • In the Chrome Settings dialog, select the Use custom user data directory checkbox and specify the path to the custom directory with your preferred user data.

Please note that if you do this, you would need to make sure that no instances that use this data are open when you start the debugger.

1

That clears things up about Chrome debug profiles in WebStorm. Cleaning them and setting a custom directory is a good fix. After long debugging sessions, I usually reset my brain with something light like Stickman Hook.

0

请先登录再写评论。