Skip to content

Commit 063d7dc

Browse files
authored
Add Odoo Server Log task to VS Code
1 parent ecb315a commit 063d7dc

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.devcontainer/devcontainer.json

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"workspaceFolder": "/workspace/custom",
66
"remoteUser": "root",
77
"forwardPorts": [8069],
8+
"postCreateCommand": "ln -s /workspace/.vscode /workspace/custom/.vscode || true",
89
"shutdownAction": "stopCompose",
910
"customizations": {
1011
"vscode": {

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,6 @@ cython_debug/
158158
# and can be added to the global gitignore or merged into this file. For a more nuclear
159159
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160160
#.idea/
161+
162+
# Ignore this Symlink
163+
custom/.vscode

.vscode/tasks.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "Odoo Server Log",
8+
"type": "shell",
9+
"command": "tail -f /var/log/odoo/odoo-server.log",
10+
}
11+
]
12+
}

0 commit comments

Comments
 (0)