Announcement: Upgrade to macOS Mojave

With features like Dark Mode, Stacks, and four new built-in apps, macOS Mojave helps you get more out of every click. 
Find out how to upgrade to macOS Mojave > https://support.apple.com/macos/mojave

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Question:

Question: visualstudio code - javascript with Chrome extension

Platform:Imac 4k retina, High Sierra 10.13.3

VisualStudioCode


To debug javascript using VisualStudioCode you can use node.js. If using HTML page with embedded javascript on the page or as external js files, certainly can use Chrome inspector and debug. Alternatively, you can attach to Chrome (need to add the chrome extension to VisualStudioCode), and debug javascript using VisualStudio debug panel.


Question:


I have no problem launching Chrome app from the doc. My problem lies invoking chrome from the terminal. VisualStudio requires in order to use the Chrome extension, the following port must be assigned when rumming Chrome:


In a terminal, execute

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222

iMac, OS X El Capitan (10.11.3)

Posted on

Reply

Page content loaded

There are no replies.
User profile for user: ronyeedee

Question: visualstudio code - javascript with Chrome extension