fix: de-docker dev
This commit is contained in:
20
.vscode/launch.json
vendored
20
.vscode/launch.json
vendored
@@ -2,16 +2,20 @@
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Docker: Attach to Node",
|
||||
"name": "Debug Eleventy",
|
||||
"type": "node",
|
||||
"request": "attach",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "npm",
|
||||
"runtimeArgs": [
|
||||
"start"
|
||||
],
|
||||
"port": 9229,
|
||||
"address": "localhost",
|
||||
"localRoot": "${workspaceFolder}",
|
||||
"remoteRoot": "/app",
|
||||
"restart": false,
|
||||
"preLaunchTask": "docker-compose-up",
|
||||
"postDebugTask": "docker-compose-down"
|
||||
"console": "integratedTerminal",
|
||||
"serverReadyAction": {
|
||||
"pattern": "Web Server running at (http://localhost:[0-9]+)",
|
||||
"uriFormat": "%s",
|
||||
"action": "openExternally"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
28
.vscode/tasks.json
vendored
28
.vscode/tasks.json
vendored
@@ -1,34 +1,6 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "docker-compose-up",
|
||||
"type": "shell",
|
||||
"command": "docker compose up --build",
|
||||
"isBackground": true,
|
||||
"problemMatcher": [
|
||||
{
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": ".",
|
||||
"file": 1,
|
||||
"location": 2,
|
||||
"message": 3
|
||||
}
|
||||
],
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": "Attaching to",
|
||||
"endsPattern": "Debugger listening on"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "docker-compose-down",
|
||||
"type": "shell",
|
||||
"command": "docker compose down --volumes"
|
||||
},
|
||||
{
|
||||
"label": "Docker: Build and Push Production Image",
|
||||
"type": "shell",
|
||||
|
Reference in New Issue
Block a user