Hello! Thanks for helping me!
I’m not completely sure which log you want to see but:
Debug console in vscode between 'start debug', passing break and finally 'stopping'
Listening on { address: '::', family: 'IPv6', port: 9003 }
<- launchResponse
Response { seq: 0, type: 'response', request_seq: 2, command: 'launch', success: true }
<- initializedEvent
InitializedEvent { seq: 0, type: 'event', event: 'initialized' }
-> setBreakpointsRequest
{ command: 'setBreakpoints',
arguments:
{ source:
{ name: 'GroupUserAddedListener.php',
path:
'/home/me/Documents/kod/nextcloud-docker-dev/workspace/server/apps-extra/appName/lib/Event/GroupUserAddedListener.php' },
lines: [],
breakpoints: [],
sourceModified: false },
type: 'request',
seq: 3 }
<- setBreakpointsResponse
Response {
seq: 0,
type: 'response',
request_seq: 3,
command: 'setBreakpoints',
success: true,
body: { breakpoints: [] } }
-> setFunctionBreakpointsRequest
{ command: 'setFunctionBreakpoints',
arguments: { breakpoints: [] },
type: 'request',
seq: 4 }
<- setFunctionBreakpointsResponse
Response {
seq: 0,
type: 'response',
request_seq: 4,
command: 'setFunctionBreakpoints',
success: true,
body: { breakpoints: [] } }
-> setExceptionBreakpointsRequest
{ command: 'setExceptionBreakpoints',
arguments: { filters: [] },
type: 'request',
seq: 5 }
<- setExceptionBreakpointsResponse
Response {
seq: 0,
type: 'response',
request_seq: 5,
command: 'setExceptionBreakpoints',
success: true,
body: { breakpoints: [] } }
-> configurationDoneRequest
{ command: 'configurationDone', type: 'request', seq: 6 }
<- configurationDoneResponse
Response {
seq: 0,
type: 'response',
request_seq: 6,
command: 'configurationDone',
success: true }
-> threadsRequest
{ command: 'threads', type: 'request', seq: 7 }
<- threadsResponse
Response {
seq: 0,
type: 'response',
request_seq: 7,
command: 'threads',
success: true,
body: { threads: [] } }
-> setBreakpointsRequest
{ command: 'setBreakpoints',
arguments:
{ source:
{ name: 'GroupUserAddedListener.php',
path:
'/home/me/Documents/kod/nextcloud-docker-dev/workspace/server/apps-extra/appName/lib/Event/GroupUserAddedListener.php' },
lines: [ 17 ],
breakpoints: [ { line: 17 } ],
sourceModified: false },
type: 'request',
seq: 8 }
<- setBreakpointsResponse
Response {
seq: 0,
type: 'response',
request_seq: 8,
command: 'setBreakpoints',
success: true,
body:
{ breakpoints:
[ { verified: true,
line: 17,
source:
{ name: 'GroupUserAddedListener.php',
path:
'/home/me/Documents/kod/nextcloud-docker-dev/workspace/server/apps-extra/appName/lib/Event/GroupUserAddedListener.php' },
id: 1 } ] } }
-> disconnectRequest
{ command: 'disconnect',
arguments: { restart: false, terminateDebuggee: true },
type: 'request',
seq: 9 }
<- disconnectResponse
Response { seq: 0, type: 'response', request_seq: 9, command: 'disconnect', success: true }
I don’t get any entries in docker compose logs -f --tail 1 nextcloud from just starting and stopping debugging in vscode, which probably is a bad sign xD
Now if my problems disappear if i open the entire server I really don’t mind! As long as I can run git in the app folder without it being disturbed by the rest..
To clarify, my full path to the app is
/home/me/Documents/kod/nextcloud-docker-dev/workspace/server/apps-extra/appName/
You suggest running code from the “server” directory?
I suppose I would need to change the mapping, I also saw in your cookbook example that you have one mapping for just “/var/www/html”: “${workspaceFolder:base}” but there is no “base” folder anywhere I looked..?
Thanks again!