Looks like no one’s replied in a while. To start the conversation again, simply ask a new 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 Mar 11, 2018 8:25 AM

Reply

Similar questions

There are no replies.

visualstudio code - javascript with Chrome extension

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.