Configured debugging with vscode
This commit is contained in:
11
.vscode/launch.json
vendored
Normal file
11
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Attach to rdbg Process",
|
||||||
|
"type": "rdbg",
|
||||||
|
"request": "attach",
|
||||||
|
"debugPort": "${workspaceRoot}/tmp/sockets/rdbg.socket",
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,2 +1,4 @@
|
|||||||
web: bin/rails server
|
web: rdbg --command --nonstop --sock_path=tmp/sockets/rdbg.socket -- bundle exec bin/rails server
|
||||||
|
//web: rdbg --command --nonstop --open=vscode --sock_path=tmp/sockets/rdbg.socket -- bundle exec bin/rails server
|
||||||
|
//web: bin/rails server
|
||||||
css: bin/rails tailwindcss:watch
|
css: bin/rails tailwindcss:watch
|
||||||
|
|||||||
Reference in New Issue
Block a user