mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	Merge pull request #3871 from soulsands/config-debug
chore: debugger config for vscode developers
This commit is contained in:
		
						commit
						a6eda2479f
					
				
							
								
								
									
										19
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							@ -1,19 +1,24 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    "version": "0.2.0",
 | 
					    "version": "0.2.0",
 | 
				
			||||||
    "configurations": [
 | 
					    "configurations": [
 | 
				
			||||||
 | 
					        // nodemon should be installed globally, use npm i -g nodemon
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "type": "node",
 | 
					            "console": "integratedTerminal",
 | 
				
			||||||
 | 
					            "internalConsoleOptions": "neverOpen",
 | 
				
			||||||
 | 
					            "name": "nodemon start-server",
 | 
				
			||||||
 | 
					            "program": "${workspaceFolder}/src/www",
 | 
				
			||||||
            "request": "launch",
 | 
					            "request": "launch",
 | 
				
			||||||
            "name": "start-server",
 | 
					            "restart": true,
 | 
				
			||||||
            "skipFiles": [
 | 
					            "runtimeExecutable": "nodemon",
 | 
				
			||||||
                "<node_internals>/**"
 | 
					 | 
				
			||||||
            ],
 | 
					 | 
				
			||||||
            "env": {
 | 
					            "env": {
 | 
				
			||||||
                "TRILIUM_ENV": "dev",
 | 
					                "TRILIUM_ENV": "dev",
 | 
				
			||||||
                "TRILIUM_DATA_DIR": "./data"
 | 
					                "TRILIUM_DATA_DIR": "./data"
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
 | 
					            "skipFiles": [
 | 
				
			||||||
 | 
					                "<node_internals>/**"
 | 
				
			||||||
 | 
					            ],
 | 
				
			||||||
 | 
					            "type": "node",
 | 
				
			||||||
            "outputCapture": "std",
 | 
					            "outputCapture": "std",
 | 
				
			||||||
            "program": "${workspaceFolder}/src/www"
 | 
					        },
 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user