Skip to content

How do I enable extensions in the extensions dir in OSS Dev mode #23831

Closed

Description

master/

commit 6f42a236d521e9016a4d4fbf6aaf33cf3d9fad4e
Merge: 01d1e95 07ca248
Author: Daniel Imms <tyriar@tyriar.com>
Date:   Fri Mar 31 23:25:07 2017 -0700

    Merge pull request #23784 from DickvdBrink/patch-1

    Fixed typo in terminal.contribution description

Ubuntu 16.04

I'm trying to patch something in the vscode codebase,
I require the php extension to work in order for me to test my changes.
How do I enable all the extensions that ship with code in my config?

This is the config I'm using (just added runtime args to the original Launch Vs Code config)

		{
			"type": "chrome",
			"request": "launch",
			"name": "Launch VS Code",
			"windows": {
				"runtimeExecutable": "${workspaceRoot}/scripts/code.bat"
			},
			"osx": {
				"runtimeExecutable": "${workspaceRoot}/scripts/code.sh"
			},
			"linux": {
				"runtimeExecutable": "${workspaceRoot}/scripts/code.sh",
				"runtimeArgs": [
					"--extensions-dir", "${workspaceRoot}/extensions/"
				]
			},
			"urlFilter": "*index.html*"
		}

This does seem to cause the extension viewlet to list all the packages in the extension dir. But I still get this error when I launch my this config (Listen for Xdebug):

  "version": "0.2.0",
  // "debugServer": 4711, // Uncomment for debugging the adapter
  "configurations": [
    {
      "name": "Listen for XDebug",
      "type": "php",
      "request": "launch",
      "port": 9000,
      "log": true
    },
    {
      "name": "Launch",
      "request": "launch",
      "type": "php",
      "program": "${file}",
      "cwd": "${workspaceRoot}",
      "externalConsole": false
    }
  ]
}

error:
Configured debug type 'php' is not supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

*questionIssue represents a question, should be posted to StackOverflow (VS Code)licenseVS Code and component license issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions