Phpstorm-mode JavaScript

Source: Internet
Author: User

Phpstorm mode JS/simultaneous mode PHP and JS One, Phpstorm mode JavaScript

Create test.html in PHP storm

<! DOCTYPE html>

In the test.html file, right-click

Select Debug ' test.html '.

At this point, the Chorme browser prompts you to install Jetbrain IDE support. Select Install.

This can be in the Phpstorm in the mode JS.

For example, press F8 in the PHP storm to perform the next step

Refer to Debug JavaScript

Second, PHP storm simultaneous mode PHP and JS

Creating PHP Files

<! DOCTYPE html>

Where TT is the JS file

var test;var test2;console.log ("Hello world!"); Console.log ("Hello world3!"); function Testclick () {    console.log ("test1");    Console.log ("Test2");}

The PHP storm configuration is as follows:

After setting the breakpoint, start the mode.

Reference

Debugging PHP and JavaScript code at the same time in Phpstorm

Phpstorm-mode JavaScript

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.