My company use Coder as a code server (you can see it here:https://coder.com/). I am stucking on hơ to debug my react (nextjs) code on it.
I ‘ve written launch.json file like this
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"urlFilter": "https://{port}.{my-name}.code-server.{my-company-domain}/*",
"webRoot": "${workspaceFolder}/{path-to-my-folder}"
}
]
}
And I got this error: “We can’t launch a browser in debug mode from here. Open this workspace in VS Code on your desktop to enable debugging.” throwed by JavaScript Debugger Extension.
Could somebody help me to debug on this platform. Thank you so much!