Closed asparrowhawk closed 2 years ago
I believe this command doesn't automatically run a browser window and it doesn't handle source maps which are required for F# source file debugging. In any case, I've applied webpack updates in #31 which should get the project to compile, make sure you have --sourceMaps
argument when running Fable in watch mode. In the time being, I will close this issue, if you still have problems, consider filing an issue on fable-compiler/Fable repo
I am new to Fable, but have watched a number of Roman and your youtube videos on the Dev Owl channel.
The project appears to be out of date. The webpack.config.js schema has changed with version 5.58.2 webpack. In order to get the code to run I had to make the following changes:
I am also having trouble debugging the fable code using Visual Code version 1.61.2 and v5.8.1 of the Ionide plugin. I have had to adapt the .vscode/launch.json as the Browser Preview and the Chrome Debugger plugins seem to be deprecated.
I am currently using the following launch.json file:
When I start debugging, the code builds and webpack starts but the browser window is never shown. I can see the "Watch Client" task running but nothing else happens.
The tasks.json file contents are the same as the repository. Although I did try:
Do you have any suggestions as to what is going wrong?
Many thanks.