Visual Studio Code - GitzJoey/DCSLab GitHub Wiki

Firefox JS Debugger

The JavaScript Debugger enables you to step through JavaScript code and examine or modify its state to help track down bugs.

  • Requirement
    Debugger for Firefox

  • Launch Configurations

    {
    	"name": "Firefox JS Debugger",
    	"type": "firefox",
    	"request": "launch",
    	"reAttach": true,
    	"url": "http://localhost:8000/",
    	"webRoot": "${workspaceFolder}/public",
    	"pathMappings": [
    		{
    			// Start 
    			"url": "webpack:///resources/js/start",
    			"path": "${workspaceFolder}/resources/js/start"
    		},
    		{
    			// Midone
    			"url": "webpack:///resources/js/midone",
    			"path": "${workspaceFolder}/resources/js/midone"
    		},
    		{
    			// node_modules
    			"url": "webpack:///node_modules",
    			"path": "${workspaceFolder}/node_modules"
    		}
    	],
    	"log": {
    		"consoleLevel": {
    			"PathConversion": "Error", //"Debug",
    			"default": "Error"
    		}
    	}
    },
    

Extension

Extension are add-ons that allow you to customize and enhance your experience in Visual Studio by adding new features or integrating existing tools. An extension can range in all levels of complexity, but its main purpose is to increase your productivity and cater to your workflow.

Here is our extension use for development DCSLab :

Optional :