Sitemap
Etribes Tech

Etribes is a tech-driven consulting firm focusing on the digitalization. We help businesses to face the challenges of the digitalization and digitize their existing business or develop new business models with them.

JavaScript Debugging in PhpStorm

2 min readJun 3, 2020

--

Whenever we think of JavaScript debugging 🤔 console.log, debugger, browser dev tools are some terms that come up in our mind but have you ever thought of debugging JavaScript with IDE?

Get Yubraj Ghimire’s stories in your inbox

Join Medium for free to get updates from this writer.

This post will guide you to integrate JavaScript debugging in PhpStorm in no time.

Lets get started…

Step1 — Install JetBrains IDE Support extension

First of all, you need to install JetBrains IDE Support extension for Google Chrome to debug client-side apps in any IDEs from JetBrains.

Press enter or click to view image in full size

After installing the extension, now you should see the JetBrains icon in your google chrome panel.

Step2 — Add JavaScript Debug configuration in PhpStorm

Click Run|Edit Configurations… from the menu which will open the dialog box and add configuration by clicking + icon and choose JavaScript Debug as a new configuration. Provide your Name for the configuration and URL for the server.

Press enter or click to view image in full size

Step3 — Start debugging

Choose the right debugging configuration and start debugging by clicking on the debug icon.

This will open your project in the new browser.

Press enter or click to view image in full size

If you set the breakpoints, you would see the script stops at the breakpoints.

Press enter or click to view image in full size

Congratulations! 👏 You have just integrated JavaScript Debugging successfully!

Keep on coding & keep on debugging 🐞

--

--

Etribes Tech
Etribes Tech

Etribes is a tech-driven consulting firm focusing on the digitalization. We help businesses to face the challenges of the digitalization and digitize their existing business or develop new business models with them.