File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version" : " 0.2.0" ,
6
+ "configurations" : [
7
+ {
8
+ "name" : " Launch Magento with Xdebug" ,
9
+ "type" : " php" ,
10
+ "request" : " launch" ,
11
+ "runtimeArgs" : [
12
+ " -dxdebug.mode=debug" ,
13
+ " -dxdebug.start_with_request=yes" ,
14
+ " -S" ,
15
+ " localhost:0"
16
+ ],
17
+ "program" : " " ,
18
+ "cwd" : " ${workspaceRoot}/pub/" ,
19
+ "port" : 9003 ,
20
+ "serverReadyAction" : {
21
+ "pattern" : " Development Server \\ (http://localhost:([0-9]+)\\ ) started" ,
22
+ "uriFormat" : " http://localhost:%s" ,
23
+ "action" : " openExternally"
24
+ }
25
+ },
26
+ {
27
+ "name" : " Launch currently open PHP script" ,
28
+ "type" : " php" ,
29
+ "request" : " launch" ,
30
+ "program" : " ${file}" ,
31
+ "cwd" : " ${fileDirname}" ,
32
+ "port" : 0 ,
33
+ "runtimeArgs" : [
34
+ " -dxdebug.start_with_request=yes"
35
+ ],
36
+ "env" : {
37
+ "XDEBUG_MODE" : " debug,develop" ,
38
+ "XDEBUG_CONFIG" : " client_port=${port}"
39
+ }
40
+ }
41
+ ]
42
+ }
You can’t perform that action at this time.
0 commit comments